What's the value of $con - I've just literally dropped this into a PHP file and it works : echo preg_replace('/<<(.*?)>>/s', "<div>$1</div>", "<<womble>>"); - it prints out <div>womble</div>
Shouldn't make any odds, neither < or > are meta characters in RegExp (except for a lookbehind) so there's no reason why that shouldn't work "as-is" ... strange.
$con- I've just literally dropped this into a PHP file and it works :echo preg_replace('/<<(.*?)>>/s', "<div>$1</div>", "<<womble>>");- it prints out<div>womble</div><or>are meta characters in RegExp (except for a lookbehind) so there's no reason why that shouldn't work "as-is" ... strange.