His sample data looks like it has newlines. Did you test yours with a newline in the data? It should work fine (for some definition of "fine") if the data contains one.
This may well be the problem. He may be removing the newline, for instance. But, as given, there isn't error at all. The code works.
-sauoq "My two cents aren't worth a dime.";
In reply to Re: Re: Re: Regex?
by sauoq
in thread Regex?
by eweaverp
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |