Page 1 of 1

preg match

Posted: Fri Sep 17, 2004 9:36 am
by robjime
If i don't want and of these characters in a field "\ / : * ? < > |". How do i use preg_match to find them?

Posted: Fri Sep 17, 2004 12:32 pm
by feyd
read this: http://www.php.net/manual/en/reference. ... syntax.php

you'll need a character class.