Hello,
Hvae been try to get this to work for me
$html = preg_replace('<br>\W+(?:\w+\W+){0,2}?</p>\b', '', $html);
the main issue it return and error
preg_replace() [function.preg-replace]: Delimiter must not be alphanumeric or backslash
i'm sure I'm missing some escape chars but everything I try returns the same error
My objective is to remove any <br> from the string that is near a </p>
any help would be great
thanks