📜  替换php代码示例中的确切单词

📅  最后修改于: 2022-03-11 14:53:51.575000             🧑  作者: Mango

代码示例2
$string = preg_replace('/\bthe\b/', '', $string);