Regular Expressions 101

Library entries

0
pcre2

UFUNCTION parser

Breaks any UFUNCTION into parts
Submitted by anonymous - 16 days ago
0
python

Hesla ISJ

ISJ
Submitted by anonymous - 18 days ago
0
python

100-4300

match 100, 200, 300 upto 4300
Submitted by anonymous - 18 days ago
0
pcre2

webforms detection

Rule to identify web form collections
Submitted by Pandurang Patil - 19 days ago
0
pcre2

Sonepar - BW5 Service Mapping

Common Mapping
Submitted by anonymous - 20 days ago
0
pcre2

Special Chars

Exclude special chars with exceptions
Submitted by anonymous - 22 days ago
1
python

Get <NIC>

Get NICs from string
Submitted by anonymous - 24 days ago

IPv4 Address Labelled Octet

Vote

0

Regular Expression
pcre2

/
\b(?:(?<FirstOctet>(?:25[0-5]|2[0-4][0-9]|[0-1][0-9]{2})|(?:[0-9]{1,2}))\.(?<SecondOctet>(?:25[0-5]|2[0-4][0-9]|[0-1][0-9]{2})|(?:[0-9]{1,2}))\.(?<ThirdOctet>(?:25[0-5]|2[0-4][0-9]|[0-1][0-9]{2})|(?:[0-9]{1,2}))\.(?<FourthOctet>(?:25[0-5]|2[0-4][0-9]|[0-1][0-9]{2})|(?:[0-9]{1,2}))){1}\b
/
gm

Description

Loading markdown...
Submitted by Jon Stinnett - 3 months ago