Regular Expressions 101

Sponsors

Library entries

0
pcre

Apache log regex

Regex pattern for Apache log
Submitted by Sujan Thapa - 7 years ago
0
pcre

Testing (delete)

Testing (delete)
Submitted by Testing (delete) - 7 years ago
0
pcre

Regx5

no description available
Submitted by anonymous - 7 years ago
0
pcre

url segments seperation

seperates url path and query
Submitted by r.abdollahi - 7 years ago
0
pcre

Float Representations

no description available
Submitted by S-YOU - 7 years ago
0
pcre

Remove Javascript Single Line Comment

Yancharuk's code/regex
Submitted by Yancharuk - 7 years ago

IPv4 Advanced

Vote

-1

Regular Expression
pcre

/
(?<![\.\*\d])(?:(?P<a>2(?:5[0-5]|[0-4]\d)|1\d{2})|(?:0)?(?P<a>[1-9]\d)|(?:00)?(?P<a>\d)|(?P<a>\*))\.(?:(?P<b>2(?:5[0-5]|[0-4]\d)|1\d{2})|(?:0)?(?P<b>[1-9]\d)|(?:00)?(?P<b>\d)|(?P<b>\*))\.(?:(?P<c>2(?:5[0-5]|[0-4]\d)|1\d{2})|(?:0)?(?P<c>[1-9]\d)|(?:00)?(?P<c>\d)|(?P<c>\*))\.(?:(?P<d>2(?:5[0-5]|[0-4]\d)|1\d{2})|(?:0)?(?P<d>[1-9]\d)|(?:00)?(?P<d>\d)|(?P<d>\*))(?![\.\*\d])
/
gJ

Description

Loading markdown...
Submitted by Abdullah Pazarbasi - 6 years ago