PHP remove all characters before specific string January 17, 2023 by Tarik You can use strstr to do this. echo strstr($str, 'www/audio');