Regular Expressions 101

Sponsors

Library entries

0
pcre2

Invoice nr

regexp search in mongo db by nr
Submitted by Tivadar - 2 hours ago
0
pcre2

MySQL DATETIME

MySQL DATETIME
Submitted by anonymous - a day ago
0
pcre2

Split Http(s) Response

Split Http(s) Response
Submitted by anonymous - 2 days ago
0
pcre2

Vivaldi

Vivaldi
Submitted by anonymous - 3 days ago
0
javascript

Matches filenames in urls

Filenames in urls
Submitted by anonymous - 5 days ago
0
pcre2

TXN ID

VIL ID
Submitted by anonymous - 5 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