如;Taylor Gre Swift
/^([A-Za-z]+s?)*[A-Za-z]$/
只能输入中文
/^[u4e00-u9fa5]+$/
手机号
/^1[34578]d{9}$/
大写字母
^[A-Z]+$
去除开头的0
.replace(/(0+)/gi,"")
金额正则(可以输入负号,小数点,保留两位)
/(^-?(?:d+|d{1,3}(?:,d{3})+)(?:.d{1,2})?$)/