So, let's say I have to have this regular expression that detects when the characters "poo " are at the beginning of a line of text. Then, I want the remaining text to be encircled with () to let me pull it with $1. This ends whenever \n is found. How would I do this? I was thinking:
CODE
poo (.*)\n
But wouldn't that select everything, because \n fits into the . wildcard? Please help.