Hi Everyone
I'm trying to fix up a script I've been working on bt I still can't figure out how preg_match works. I want to convert this ereg_replace:
ereg_replace('[a-zA-Z0-9]',' ',$comment);
to its preg_replace version. What is it?
Try
preg_replace('/[a-zA-Z0-9]/',' ',$comment);
I think that should work
Mark.