Open fangmd opened 1 year ago
/^(\d+)(.\d{2})$/
"xxxxx".replace(/[^\d]/g, '')
\d
数字^
取反向\w
: 匹配包括下划线的任何单词字符。等价于“[A-Za-z0-9_]”/^.{2,36}$/
^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$
^(13[0-9]|14[5|7]|15[0|1|2|3|4|5|6|7|8|9]|18[0|1|2|3|5|6|7|8|9])\d{8}$
^(?=.*[A-Za-z])(?=.*\d)(?=.*[$@$!%*#?&])[A-Za-z\d$@$!%*#?&]{8,}$
?
text-\[(.*?)px\]
antd form rule 中使用正则