I need to remove all characters from any string before the occurrence of this inside the string:
\"www/audio\"
Not sure how I can do this.<
Considering
$string="We have www/audio path where the audio files are stored"; //Considering the string like this
Either you can use
strstr($string, 'www/audio');
Or
$expStr=explode("www/audio",$string); $resultString="www/audio".$expStr[1];