正则表达式
文章平均质量分 55
_Jessica.
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
【网络】常用正则表达式
1、端口号 0-65535 const isPort = /^[0-9]$|(^[1-9][0-9]$)|(^[1-9][0-9][0-9]$)|(^[1-9][0-9][0-9][0-9]$)|(^[1-6][0-5][0-5][0-3][0-5]$)/ 2、IPv4地址 const isIPv4 = /^([1-9]|[1-9]\d|1\d\d|2[0-1]\d|22[0-3])\.(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1.原创 2022-04-02 10:18:07 · 1518 阅读 · 0 评论 -
常用正则表达式
【个人信息】常用正则表达式原创 2022-04-02 10:08:50 · 462 阅读 · 0 评论
分享