posix-ere

    2热度

    2回答

    我试图从网站中删除一些弃用的代码。 谁能告诉我preg相当于 ereg_replace("<b>","<strong>",$content); 谢谢。

    1热度

    4回答

    一些PHP ereg_replace问题。我有名字的数组: $ssKeywords = array("Str", "Int", "String", "As", "Integer", "Variant"); 然而,当我使用这个ereg_replace: foreach($arKeyword as $aWord) { $sCode = ereg_replace($aWord, "<spa

    15热度

    2回答

    可能重复: How can I convert ereg expressions to preg in PHP? 我需要帮助,下面是一个小的非常基本的正则表达式有些验证电子邮件,我不知道它不是最大的工作,但为我的需要,现在可以。 它目前使用PHP的eregi功能这php.net说,现在是一个贬值的功能,我应该使用的preg_match代替,简单地更换的preg_match erei不起作用,有人可