preg_replace warning (newbie question)
[email protected] (Michael Iatrou) Tue, 13 Aug 2002 19:25:59 +0300
| Newsgroups | php.lang |
|---|---|
| Message-ID | <[email protected]> |
I am trying to get rid of a backslash (\) in a string.
To do this I am using preg_replace like below
preg_replace ("/\\/", "",$string);
(according to the php manual)
and I get this message
Warning: No ending delimiter '/' found <file> on line <line>
Whats wrong?
Thanks in advance.