我有这样The theme song of whatever - http://www.anydomain.com/pop_new.php?sid=10623&aid=1581&rand=0.6808111508818073 #string 字符串而现在,我需要做下面的事情。 从上面的字符串http://www.anydomain.com/pop_new.php?sid=10623&aid=158
我尝试使用下面的正则表达式来检查字符串是否与任一零个小数的正数,或2个正数: ^\d+(\.(\d{2}))?$
当我尝试使用preg_match匹配这个,我得到错误: Warning: preg_match(): No ending delimiter '^' found in /Library/WebServer/Documents/lib/forms.php on line 862 我在