Add phrases like this
push @WORDS,'founding member','another phrase';I not sure what your regex is trying to do. Are you expecting to capture up to 25 characters either side of the match with this ?
/.{0,25} (?:$words) .{0,25}/Have you considered using an HTML parser ?
pojIn reply to Re^4: Perl Array Question, combining HTML::HeadParser and regex
by poj
in thread Perl Array Question, combining HTML::HeadParser and regex
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |