SyntaxFix
Write A Post
Hire A Developer
Questions
Try this:
((.|\n)*)<FooBar>
It basically says "any character or a newline" repeated zero or more times.