preg_match('/[^a-zA-Z0-9_\u4e00-\u9fa5]+/',$company_name)為何會報錯?錯誤信息:Warning: preg_match(): Compilation failed: PCRE does not support \L, \l, \N{name}, \U, or \u請問查詢字符串中是否存在英文、中文、數字、下劃線以外的字符,應該怎么寫代碼?
- 1 回答
- 0 關注
- 704 瀏覽
添加回答
舉報
0/150
提交
取消