Shaun wrote:
Hi M,
Thanks for your help, the code works fine except if there is a line break in
the html, for example
this works
<p>test</p>
But this doesnt
<p>test
</p>
Any ideas?
See the last user contributed note from *csaba at alum dot mit dot edu
*at http://us3.php.net/manual/en/reference.pcre.pattern.modifiers.php,
particularly the last paragraph. He gives a very good explanation of
pattern modifiers that answers your question.
kgt
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php