<?php $regex = '/(?<!<br>)(?<!\s)\s*(\((?:(?:(?!<br>|\(|\)).)*(?:\((?:(?!<br>|\(|\)).)*\))?)*?\))\s*(\{)/si'; $test_string = '(""L"",function(){})'; echo preg_replace($regex,' $1 $2',$test_string);
You have javascript disabled. You will not be able to edit any code.