in reply to newline in pattern matching

What regex are you trying? Show us what you have so far, and we could probably help you find the problem.

-- Dan