2016-08-02 27 views

回答

1

试试这个:

preg_replace("/t\W?e\W?s\W?t/", "something", $input_array); 
+0

而不是'.'你不应该使用非单词边界? –

+0

是的,你是对的。我将编辑答案 – Ahmad