We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
学习资料:https://juejin.im/post/5b96a8e2e51d450e6a2de115
The text was updated successfully, but these errors were encountered:
匹配有abc开头的字符串:
\babc或者^abc
匹配8位数字的QQ号码:
^\d\d\d\d\d\d\d\d$
匹配1开头11位数字的手机号码:
^1\d\d\d\d\d\d\d\d\d\d$
Sorry, something went wrong.
1^\d{8}$
1^1\d{10}$
匹配银行卡号是14~18位的数字:
1^\d{14,18}$
匹配以a开头的,0个或多个b结尾的字符串
1^ab*$
正则表达式中用小括号()来做分组,也就是括号中的内容作为一个整体。
匹配字符串中包含0到多个ab开头:
^(ab)*
No branches or pull requests
学习资料:https://juejin.im/post/5b96a8e2e51d450e6a2de115
The text was updated successfully, but these errors were encountered: