[ad_1]
Use preg_replace for that:
echo preg_replace("/\b[a-z]*day\b/i", '', "Wednesday dynamic date");
// output:
dynamic date
6
[ad_2]
solved Remove string from string contain specific
[ad_1]
Use preg_replace for that:
echo preg_replace("/\b[a-z]*day\b/i", '', "Wednesday dynamic date");
// output:
dynamic date
6
[ad_2]
solved Remove string from string contain specific