I have the following text
$text = \"\\\\vct=140\\\\Araignée du soir espoir,araignée du matin,espoir du matin.\"
I want to remove the esc
As far as I can tell stripslashes
works as per the manual:
<?php
$string = '\\\\vct=140\\\\Araignée du soir espoir.';
echo $string, "\n";
echo stripslashes($string), "\n";
Which outputs:
\\vct=140\\Araignée du soir espoir.
\vct=140\Araignée du soir espoir.
Sequence \\
is in list of escape sequences for special characters so you got to escape slashes twice.