Yes, I was trying to extract a string from a textfile, but couldn't parse it correctly. Here is part of the file:
ended June 30, 2001 in conformity with accounting principles generall
+y accepted
in the United States of America. Also in our opinion, the related fina
+ncial
statement schedule, when considered in relation to the basic consolida
+ted
financial statements taken as a whole, presents fairly, in all materia
+l
respects, the information set forth therein.
Melville, New York /s/KPMG LLP
September 26, 2001
Here is my regex:
/^\s*(\w+),\s*(\w+ \w+)(.+?\s*LLP)$/m;
I wanted to extract: Melville, New York, /s/KPMG LLP
Any suggestions?