我在字符串中有一些捷克语单词,并且我在PHP中使用preg_match_all,但仅适用于英语单词。
$regExge = "/(?!((<.*?)))\b(makléř)\b(?!(([^<>]*?)>))/s";
$content = "Welcome to WordPress. This is your first post. Edit or delete it, then start blogging! pracuje jako hypoteční makléř v Praze pokuš králík pokus a realitní pokusný makléř a hypotéka jedna";
preg_match_all($regExge, $content, $matches, PREG_OFFSET_CAPTURE)
->没有结果
谢谢