标签:验证 pre 符号 数字 url bsp nbsp 英文 class
php中文英文数字及一些中文符号:
/^[0-9a-zA-Z\x{4e00}-\x{9fa5}《》?!,。]+$/u
php中文英文数字及一些URL符号:
/^[0-9a-zA-Z\x{4e00}-\x{9fa5}\=\_\-\&\?]+$/u
php 正则验证
原文地址:https://www.cnblogs.com/ilovenman/p/13155949.html