php判断某字符串是否不以数字或其他特殊字符开头

if(preg_match("/^[^\d-.,:]/",$addr)){
	echo $addr.'不是数字或其他特殊字符开头';
}

  

posted @ 2013-09-02 17:20  不负韶华668  阅读(515)  评论(0编辑  收藏  举报