Deleting multiple backslashes; regex?

[email protected] (Al)
Newsgroups php.general
Message-ID <[email protected]>
Anyone have a regex pattern for deleting multiple backslashes e.g., \\\\\\\

I pretty good with regex; but, be damned if I can delete them with preg_replace()

I've tried "\\\\" as the manual says

preg_replace("/\\\\/", '', $str);

preg_replace("/(\\\\)+/", '', $str);

preg_replace("/\x5C/", '', $str);

preg_replace("/\\x5c/", '', $str);

And lots of others.

stripslashes() and stripcslashes() are limited.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.