Reputation: 12179
So far this captures everything i need ending with 'em' i need regex to capture paragraphs ending in 'ppp' also.
My regex:
%<h2>Storyline</h2>(.*)em%s
Upvotes: 0
Views: 54
Reputation: 723688
I would advise not to parse HTML with regex, but this seems easy enough seeing as you aren't actually parsing it as HTML...
%<h2>Storyline</h2>(.*?)(?:em|ppp)%s
Upvotes: 1