Hi,
I'm trying to use
preg_match_all
to parse a string and retrieve all the paragraphs within <P> </P> tags so I can get the first couple of paragraphs.
Works fine at the moment but I need to get this to work case sensitive? What need I do?
[code=php]preg_match_all("!<P>(.*?)</P>!is", $body_content, $new_paragraphs_array); [/code]
I'm no good at this regexp lark, so any help much appreciated.
Thanks,
r