php remove prefix from string

Solutions on MaxInterview for php remove prefix from string by the best coders in the world

showing results for - "php remove prefix from string"
Dario
12 Feb 2017
1$str = preg_replace('/^bla_/', '', $str);