Your strings should also be "quoted" by \Q...\E in case they contain any special characters: $html =~ m/(\Q$search_start\E.+\Q$search_end\E)/si;
I suggest using HTML::TreeBuilder and look_down method of HTML::Element.
In reply to Re: Parsing and searching HTML code
by aitap
in thread Parsing and searching HTML code
by jayto
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |