Regular Expressions 101

Sponsors

Library entries

0
pcre2

Dafne

.NSO.HORDIN_XMLDAFNEV..xml
Submitted by Dorino - 5 days ago
0
pcre2

12 hours regex

Define hour at 12 hours
Submitted by anonymous - 5 days ago
0
pcre2

Hour regex

Define 24 hour format
Submitted by anonymous - 5 days ago
0
pcre2

Model Code validator

Check the modelCode for iOS/iPadOS devices
Submitted by ppeelen - 6 days ago
0
pcre2

regex

remove pun
Submitted by anonymous - 6 days ago
0
pcre2

测试

竭莹用于在json中寻找评论的正则表达式
Submitted by anonymous - 9 days ago
0
pcre2

Include non-whitespace

Prevents whitespace only string
Submitted by anonymous - 10 days ago
0
pcre2

reset1

reset1
Submitted by anonymous - 10 days ago
0
pcre2

reset

reset
Submitted by anonymous - 10 days ago
0
pcre2

reset capture

reset capture
Submitted by anonymous - 10 days ago
0
pcre2

conditional

conditional
Submitted by anonymous - 10 days ago
0
pcre2

datetime?

Attempt at datetime parsing
Submitted by anonymous - 11 days ago
0
pcre2

4 Digits 3 Decimals

4 Digits 3 Decimals
Submitted by anonymous - 11 days ago

ipOrIpRangeOrCidrWithWildcard

Vote

0

Regular Expression
javascript

/
^(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]|\*).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]|\*)((-(([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]).){3}([0-9]|[1-9][0-9]|1[0-9]{2}|2[0-4][0-9]|25[0-5]))?|(\/([0-9]|[1-2][0-9]|3[0-2]))?)$
/
gm

Description

Loading markdown...
Submitted by anonymous - 2 months ago