Regular Expressions 101

Sponsors

Library entries

1
python

me

paypal accounts
Submitted by jhon - 7 years ago
1
python

me

me
Submitted by me - 7 years ago
1
python

sophos

my first one
Submitted by bwl - 7 years ago
1
python

shopware-article-number

no description available
Submitted by anonymous - 7 years ago
1
python

test

no description available
Submitted by anonymous - 7 years ago
1
python

DNS Name

no description available
Submitted by anonymous - 7 years ago
1
python

дом

no description available
Submitted by anonymous - 7 years ago
1
python

kasper-py-regexp for agent

no description available
Submitted by reza-ad - 7 years ago
1
python

Tag Text

Match text between html tags
Submitted by Si - 7 years ago
1
python

наличие личного авто

no description available
Submitted by anonymous - 7 years ago
1
python

SEO RegExp

SEO RegExp
Submitted by Jay Patel - 7 years ago

Verbose Python IP4 Address

Vote

1

Regular Expression
python

"
(?:\s|^) # Start of string or word boundary ( # Capture Group (?: # Non-Capture Group for X. (?: # Nested NCG for 0..255 (?:\d){1,2}| # Allow any single digit or any pair of digits or (?:1\d{2})| # 3 Digits starting with 1 or (?:2[0-4]\d)| # 3 Digists starting with 20..24 or (?:25[0-5]) # 250..255 ) # this should allow X=0..255 in the NCG \. # Must be followed by a literal . ){3} # X. Must repeat exactly 3 times (?: # NCG for final 0..255 (?:\d{1,2})| # Allow any single digit or any pair of digits or (?:1\d{2})| # 3 Digits starting with 1 or (?:2[0-4]\d)| # 3 digits starting 20..24 or (?:25[0-5]) # 250.255 ) # End of final 0.255 ) # End of capture group (?:\s|$) # Must be followed by EOS or wspace
"
gx

Description

Loading markdown...
Submitted by Steve (Gadget) Barnes - 7 years ago