in reply to Re^3: Perl Array Question, combining HTML::HeadParser and regex
in thread Perl Array Question, combining HTML::HeadParser and regex

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 ?

poj