我需要删除搜索字符串的下一个单词。我有像 array('aa','bb','é'); 这样的搜索数组。
这是我的段落'你好,这是一个测试段落 aa 123 test bb 456'。
在本段中,我需要删除 123 和 456。
$pattern = "/\bé\b/i";
$check_string = preg_match($pattern,'Hello, this is a test paragraph aa 123 test é 456');
如何获得下一个单词??请帮忙。