Regular Expressions 101

Sponsors

Library entries

1
javascript

hr

no description available
Submitted by artem - 8 years ago
1
pcre

unity3d.com csharp lint regex

no description available
Submitted by anonymous - 8 years ago
1
pcre

ewqewq

no description available
Submitted by anonymous - 8 years ago
5
pcre

Find All Python imports

no description available
Submitted by anonymous - 8 years ago
-2
python

link

no description available
Submitted by NTP-[SADAS] - 8 years ago
2
pcre

PAN verification regex

Regex to verify PAN in India
Submitted by Anirban - 8 years ago
2
python

log trillian

no description available
Submitted by NTP-[SADAS] - 8 years ago
14
javascript

Hashtag

The secret of the Twitterverse.
Submitted by Joogl - 8 years ago
1
pcre

Test

test
Submitted by royskatt - 8 years ago
1
pcre

input mandatory title

no description available
Submitted by anonymous - 8 years 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