当前位置:网站首页>regular expression
regular expression
2022-06-23 09:41:00 【Linging_ twenty-four】
1、 matching [0,1] At most two decimal places between . Include 0 and 1. Matching results :0、1、0.xx
/^(0(\.\d{1,2})?|1(\.0{1,2})?)$/
2、 matching [0,1] Decimal between , Unlimited number of decimal places .
/^(0(\.\d+)?|1(\.0+)?)$/
边栏推荐
- Basic use of lua
- Redis learning notes - data type: ordered set (Zset)
- [ciscn2019 North China Day2 web1]hack world
- JSP getting started summary
- Redis学习笔记—单个键管理
- Chain representation and implementation of linklist ---- linear structure
- High performance computing center nvme / nvme of nvme of overview
- UCOSII (learning notes)
- AI系统前沿动态第38期:谷歌已放弃TensorFlow?;训练大模型的四种GPU并行策略;LLVM之父:模块化设计决定AI前途
- Embedded system overview (learning notes)
猜你喜欢

学习SCI论文绘制技巧(E)
![[MRCTF2020]Ez_bypass](/img/cd/bd6fe5dfc3f1942a9959a9dab9e7e0.png)
[MRCTF2020]Ez_bypass

web--信息泄漏

2022 gdevops global agile operation and maintenance summit - essence playback of Guangzhou station (with PPT download)

启明星辰华典大数据量子安全创新实验室揭牌,发布两款黑科技产品

ionic5表单输入框和单选按钮

Wechat applet: click the button to switch frequently, overlap the custom markers, but the value does not change

What is BFC? What problems can BFC solve

Notes on using the coding code base

cooding代码库的使用笔记
随机推荐
Mysql database introduction summary
必须知道的RPC内核细节(值得收藏)!!!
Chain implementation of stack -- linear structure
Go 单元测试
Common English explanations in arm
[極客大挑戰 2019]HardSQL
Redis学习笔记—发布订阅
薄膜干涉数据处理
High performance computing center nvme / nvme of nvme of overview
[GXYCTF2019]BabyUpload
ionic5表单输入框和单选按钮
什么是闭包函数
NIO例子
High performance computing center RDMA implementation technology
什么是BFC?BFC可以解决什么问题
Redis learning notes master-slave copy
Redis learning notes - client communication protocol resp
The usage of lambda of C
Redis learning notes - data type: string (string)
Embedded system overview (learning notes)