Can anyone tell me how to take a string and replace any occurence of \ with ' I have been trying to use regualr expressions, but it has been over a year since I last used them and I can not seem to get it right.
Regards.
Steve.
Trivial little job like that why use regular expressions? [man]str_replace[/man], [man]strtr[/man].
Aha. Nice one! Job done.
Thank you.