in reply to Lookahead assertion confusion

The lookahead assertion (?!<p>) means that your string must not match <p> beginning at the point of the lookahead assertion. Basically, the lookahead assertion is having no effect, since it's impossible for a string to match both <p> and features beginning at the same point.

-- Mike

--
just,my${.02}