当前位置:网站首页>常用工具系列 - 常用正则表达式
常用工具系列 - 常用正则表达式
2022-08-10 05:28:00 【河南循中网络科技有限公司】
常用工具系列 - 常用正则表达式
河南循中网络科技有限公司 - 精心创作,详细分解,按照步骤,均可成功!
第一章 常用正则表达式
第二章 Java抽奖-总概率中奖几率
可以为0,保留2位小数
^(0|[1-9]\d*)(\s|$|\.\d{
1,2}\b)
不允许为0,保留2位小数
^(?!0+(?:\.0+)?$)(?:[1-9]\d*|0)(?:\.\d{
1,2})?$
可以为0,纯数字
^(0|\+?[1-9][0-9]*)$
不允许为0,纯数字
^(?!0+(?:\.0+)?$)(?:[1-9]\d*|0)?$
身份证号
(^\d{
15}$)|(^\d{
18}$)|(^\d{
17}(\d|X|x)$)
手机号
^1\d{
10}$
边栏推荐
- 虚拟土地价格暴跌85% 房地产泡沫破裂?依托炒作的暴富游戏需谨慎参与
- FPGA engineer interview questions collection 11~20
- 成为黑客不得不学的语言,看完觉得你们还可吗?
- Become a language that hackers have to learn. Do you think it's okay after reading it?
- 抽象问题方法论
- ECMAScript6 Proxy和Reflect 对象操作拦截以及自定义
- 【LeetCode】41. The first missing positive number
- ORA-16018 异常处理记录
- leetcode每天5题-Day11
- FPGA engineer interview questions collection 1~10
猜你喜欢
随机推荐
openGauss源码,在window系统用VSCode维护吗?
FPGA工程师面试试题集锦1~10
Jenkins 如何玩转接口自动化测试?
flinksql怎么写redis的value只有最后一个字段?
线程(上篇):线程的创建
OAuth2的使用场景、常见误区、使用案例
leetcode每天5题-Day13
Arduino框架下合宙ESP32C3 +1.8“tft 网络时钟
MySQL使用简单教程
每周推荐短视频:探索AI的应用边界
Interface documentation evolution illustration, some ancient interface documentation tools, you may not have used it
SQL Server查询优化
【LeetCode】41. The first missing positive number
从GET切换为POST提交数据的方法
Read the excerpt notes made by dozens of lightweight target detection papers for literacy
我用这一招让团队的开发效率提升了 100%!
FPGA工程师面试试题集锦11~20
How cursors work in Pulsar
如何用Apifox 的智能Mock功能?
canvas canvas drawing clock









