Currently i am using the following code to modify content between {|
and |}
using a custom function parse_table
$output = preg_replace_callback("({\|(.*?)\|})is", function($m) {return parse_table($m[1]);}, $input);
Now i want to modify it such that the pattern can exclude a certain substring, such as abcde
. What could be done to achieve this?
Thank you very much.