javascript - js regular verification: up to 12 characters, only Chinese, English upper and lower case, numbers, basic symbols
女神的闺蜜爱上我
女神的闺蜜爱上我 2017-07-05 10:43:12
0
1
898

js regular verification: up to 12 characters, only Chinese, English upper and lower case, numbers, basic symbols;
How to verify abnormal symbols

女神的闺蜜爱上我
女神的闺蜜爱上我

reply all (1)
代言

Assume the basic symbols are-,_(add according to specific circumstances)

/^[A-Za-z\d_\-\u4e00-\u9fa5]{1,12}$/.test('segmentfault')
    Latest Downloads
    More>
    Web Effects
    Website Source Code
    Website Materials
    Front End Template
    About us Disclaimer Sitemap
    php.cn:Public welfare online PHP training,Help PHP learners grow quickly!