![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
正则表达式
文章平均质量分 65
LQ_2021
好好学习,天天向上
展开
-
正则表达式学习笔记 (.+) 和(?P<name>group)
在线测试工具:https://c.runoob.com/front-end/854一、校验数字的表达式数字:^[0-9]*$ n位的数字:^\d{n}$ 至少n位的数字:^\d{n,}$ m-n位的数字:^\d{m,n}$ 零和非零开头的数字:^(0|[1-9][0-9]*)$ 非零开头的最多带两位小数的数字:^([1-9][0-9]*)+(\.[0-9]{1,2})?$ 带1-2位小数的正数或负数:^(\-)?\d+(\.\d{1,2})$ 正数、负数、和小数:^(\-|\+)?\.原创 2021-03-10 10:10:21 · 778 阅读 · 0 评论 -
正则表达式
End of Day Statistics Report Collection Date-Time 04/04/2016-00:00:00 Last Reset 00:00:00 Applid BP15PAC1 Jobname BP15PAC1regexForReportType = “^(?P\w+|END OF DAY STATISTICS|REQUESTED STATISTICS) REPORT(.+)APPLID (?P\S+)\s+JOBNAME \S+$”comReprtT原创 2021-01-07 14:16:47 · 85 阅读 · 0 评论