http://qs1969.pair.com?node_id=667114


in reply to Re^2: Matching set of paragraph tags with string inside.
in thread Matching set of paragraph tags with string inside.

You seem to be a bit focussed on using big regexes :P

map { s/<P>// } grep { /\[tab\]/ } split /<\/p>/, $string;

___________________
Jeremy
I didn't believe in evil until I dated it.

Replies are listed 'Best First'.
Re^4: Matching set of paragraph tags with string inside.
by Roy Johnson (Monsignor) on Feb 11, 2008 at 18:44 UTC
    I think you should try this out. It doesn't do what you think it does.

    Caution: Contents may have been coded under pressure.