I want to remove part of string from special world using php lang for example :
$string1 = "xABCb1/DEF/GHI/GKL";
$string2 = "yABCz/DEF/MNO/PQR";
$string3 = "zABC1112/DEF/STU/VWX";
I want to remove all words before from (DEF) and the result looks like this
$string1 = "DEF/GHI/GKL";
$string2 = "DEF/MNO/PQR";
$string3 = "DEF/STU/VWX";
The words before (DEF) are not static . it is changing. I just want the function to clear all the words that before (DEF)