2016-08-02 31 views

回答

1

試試這個:

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

而不是'.'你不應該使用非單詞邊界? –

+0

是的,你是對的。我將編輯答案 – Ahmad