📌  相关文章
📜  如何删除包含整数的php代码示例中的单词

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

代码示例1
$input = "H3llo This is a? #test e3ample of a sentence-word bl&h.";
echo preg_replace('/(?=[^ ]*[^A-Za-z \'-])([^ ]*)(?:\\s+|$)/', '', $input);

This is of a sentence-word