str_replace: Match whole word only

前端 未结 5 1173
后悔当初
后悔当初 2021-01-18 13:21

Since str_replace() matches \":Name\" two times in \":Name :Name_en\" I want to match the results for the whole word only. I wanted to switch to preg_repl

5条回答
提交回复
热议问题