I want to do this:
$text = preg_replace("/[x00-x1f]/", "", $text);
In order to strip some non-printing characters from a content source outside my control.
But that breaks the parsing of the regexp for some reason. Strange. My server says:
Warning: preg_replace() [function.preg-replace]: No ending delimiter '/' found in /home/sf/projects/swl/www/ng/index.php on line 98
Any other reg exp inside that same call to preg_replace works fine. Maybe you’ve seen this before? I will be ever grateful for any ideas or leads.