<?php $regex = '((?!a).*)a\{'; $test_string = 'AAAAAAAAAAAAAA{AA'; echo "2:".preg_replace('/'.$regex.'/u','WORKED',$test_string)."\n"; echo "3:".preg_replace('/'.$regex.'/','WORKED',$test_string)."\n";
You have javascript disabled. You will not be able to edit any code.