Regular Expressions 101

Sponsors

Library entries

0
pcre2

belcorp

test
Submitted by anonymous - 17 days ago
0
pcre2

C/F temp unit

me
Submitted by anonymous - 17 days ago
0
python

Postcode (UK)

Detects UK postcodes (minimal edge cases)
Submitted by anonymous - 18 days ago
0
python

PO Number

Detects specific prefixes followed by number series
Submitted by anonymous - 18 days ago
0
python

Credit Note

Detects specific word in a sentence
Submitted by anonymous - 18 days ago
0
pcre2

Postfix

Add DR to end of line
Submitted by anonymous - 18 days ago
0
python

dice thing

Stuff for a dnd thing
Submitted by Cata - 19 days ago
0
python

完形填空

完形填空
Submitted by anonymous - 20 days ago
0
python

恩更

非法发
Submitted by anonymous - 21 days ago
0
python

CPF|CNPJ

Match Brazilian documents
Submitted by Bacco - 21 days ago

IP/MASK or IP/CIDR (accept 5.5.5.0/255.255.255.0 and 5.5.5.0/24)

Vote

0

Regular Expression
javascript

/
^(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\/((((([0-9])|(?:[1-2][0-9])|(?:3[0-2]))|(([1-9]?\\d|1\\d\\d|25[0-5]|2[0-4]\\d)\.){3}([1-9]?\\d|1\\d\\d|25[0-5]|2[0-4]\\d)(([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])))|(((255\.){3}(255|254|252|248|240|224|192|128|0+))|((255\.){2}(255|254|252|248|240|224|192|128|0+)\.0)|((255\.)(255|254|252|248|240|224|192|128|0+)(\.0+){2})|((255|254|252|248|240|224|192|128|0+)(\.0+){3})))$
/
mg

Description

Loading markdown...
Submitted by anonymous - 3 years ago