Peter Michaux <pe**********@gmail.comwrote:
On Jul 30, 9:41 am, Peter Michaux <petermich...@gmail.comwrote:
>On Jul 30, 9:37 am, Mel <MelHer...@gmail.comwrote:
I just need the content between <bodyand </bodyof a message
I didn't see the subject line of your post at first. Won't this work?
/<body>(.)</body>/
You mean apart from the unescaped slash in the middle of the regex, the
fact that a dot only matches 1 character, and also that a dot won't match a
newline?
This would probably work most of the time:
/<body[^>]*>((?:.|\n)*)<\/body>/