Also, one suggestion... use the match operator with curly braces: m{}. You won't have to do as much escaping, and your regex will much more readable:
if (m{class="report".*&id=1">(.*?)</a.*"report"\swidth.*>(.*?)</td>$}s +i) { ... }
In reply to Re: help needed with match multiple lines
by pc88mxer
in thread help needed with match multiple lines
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |