Warning: preg_replace(): Unknown modifier '/' in /usr/local/src/phpdocx_trial/classes/AutoLoader.inc(29) : eval()'d code on line 58
Stack trace:
1. {main}() /domain/dev.ddesk/skiprm/edit.php:0
2. preg_replace("/\$NOTE_DATE_d/m/Y\$/", "24/09/2013", "<?xml versio...
As $ is already escape, there are other possible variable characters that need escaping. The variable name contains / as NOTE_DATE_(.*) is being pumped into date() dynamically.