js regular verification: up to 12 characters, only Chinese, English upper and lower case, numbers, basic symbols;
How to verify abnormal symbols
代言2017-07-05 10:45:12
Assume the basic symbols are -
, _
(add according to specific circumstances)
/^[A-Za-z\d_\-\u4e00-\u9fa5]{1,12}$/.test('segmentfault')