var reg = /^([\u4e00-\u9fa5]+)(·[\u4e00-\u9fa5]+)?$/;
var filter=/^(([0\+]\d{2,3}-)?(0\d{2,3})-)?(\d{7,8})(-(\d{3,}))?$/;
Created
July 7, 2016 06:26
-
-
Save z2015/cc15625f3aecbc4b7f17e0e4ef6dead2 to your computer and use it in GitHub Desktop.
Js Chinese Regex
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment