So that $1 is "Hello there" and $2 is "How are you" (I think). What's the newline character for? Of course, regular expressions sometimes elude me so this could be wrong. Try it, and see what the other monks say.
Neil Watson
watson-wilson.ca
In reply to Re: Regular expressions
by neilwatson
in thread Capturing text between literal string delimiters (was: Regular expressions)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |