For example, this regex
(.*)<FooBar>
will match:
abcde<FooBar>
But how do I get it to match across multiple lines?
abcde fghij<FooBar>
Try this:
((.| )*)<FooBar>
It basically says "any character or a newline" repeated zero or more times.
1.4m articles
1.4m replys
5 comments
57.0k users