If you're after, say, subject, date and from etc. these may not be all on the same line and you may need to consider a parser.
Something like HTML::TokeParser::Simple or HTML::TreeBuilder may be more suitable than a regex especially if it's garbled. :-)
In reply to Re: Extracting the few useful lines from HTML garble
by wfsp
in thread Extracting the few useful lines from HTML garble
by handheld-penguin
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |