Regular expression error: no ending delimiter

Elizabeth

New Member
I'm trying to execute this regular expression:\[code\]<?php preg_match("/^([^\x00-\x1F]+?){0,1}/", 'test string');?>\[/code\]But keep getting an error:\[code\]Warning: preg_match() [function.preg-match]: No ending delimiter '/' found in /var/www/preg.php on line 6\[/code\]I can't understand where it is coming from. I have an ending delimeter right there... I tried to change delimiter to other symbols and it didn't help.I would appreciate your help on this problem.
 
Back
Top