Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Relevance
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 40 community submitted regex patterns...
0
IPv4 non zero first and last octet
PCRE2 (PHP >=7.3)
When validating an IPv4 address I often have to reject devices that the first and last octet are 0.
Submitted by
John Cutburth
-
3 years ago
0
LDAP URI regex
PCRE2 (PHP >=7.3)
ldap, ldaps, ipv4, ipv6 & dns (bare bones)
Submitted by
anonymous
-
3 years ago
0
ipv4
PCRE2 (PHP >=7.3)
Find ipv4 addresses
Submitted by
anon
-
3 years ago
0
IPV4 Grabber
PCRE2 (PHP >=7.3)
This expression grabs any IPV4 address from any text, any time, anywhere. Hopefully.
Submitted by
Ricardo Chica
-
3 years ago
(Last modified 3 years ago)
0
match ipv4|匹配ipv4
PCRE2 (PHP >=7.3)
192.168.254.1 match 0.0.0.0 match 01.01.01.01 does not match 255.255.255.255 match 255.0.0.0 match 0.0.0.256 does not match
Submitted by
nihuge
-
3 years ago
0
ipv4 match
PCRE2 (PHP >=7.3)
ipv4 match
Submitted by
anonymous
-
3 years ago
0
Ipv4 validation
PCRE2 (PHP >=7.3)
regex for ip validation
Submitted by
Amper
-
3 years ago
0
ipv4
PCRE2 (PHP >=7.3)
curso de regex
Submitted by
anonymous
-
2 years ago
0
ipv4
PCRE2 (PHP >=7.3)
To check IPv4
Submitted by
anonymous
-
2 years ago
0
IPv4 address validation
PCRE2 (PHP >=7.3)
validation of IPv4 addresses
Submitted by
@unblog
-
2 years ago
0
IPv4 Address Labelled Octet
PCRE2 (PHP >=7.3)
Matches on IPv4 addresses and groups each octet.
Submitted by
Jon Stinnett
-
2 years ago
0
IPv4 Address
PCRE2 (PHP >=7.3)
Matches on whole IP addresses
Submitted by
Jon Stinnett
-
2 years ago
0
Validates an IPv4 Address
PCRE2 (PHP >=7.3)
Given a string, the regex would match if it is a valid IPv4 address.
Submitted by
A-Paint-Brush
-
10 months ago
(Last modified 10 months ago)
1
IPV4 Address Identificate
PCRE2 (PHP >=7.3)
Regex to identificate a IPV4 Address
Submitted by
Pablo Deyvid
-
4 years ago
1
in-addr.arpa to IPv4
PCRE2 (PHP >=7.3)
Converts in-addr.arpa hostnames to IPv4 e.g. 1.0.0.127.in-addr.arpa to 127.0.0.1
Submitted by
BitesizedLion
-
2 years ago
1
Regexp for IPv4 or IPv6 CIDR entry
PCRE2 (PHP >=7.3)
Helps to find IPv4 or IPv6 CIDR entry in any text.
Submitted by
anonymous
-
2 years ago
1
ipv4 and ipv6 with mask in CIDR
PCRE2 (PHP >=7.3)
Match and validate both ipv4, ipv6 and CIDR notation mask!
Submitted by
Stefanos Mitropoulos
-
2 years ago
1
IPv4 + IPv6 w/ Zero Compression
PCRE2 (PHP >=7.3)
Regex pattern detection for IPv4 addresses and IPv6 addresses in zero compression format.
Submitted by
Lewis Wigmore
-
a year ago
(Last modified a year ago)
1
Public IPv4
PCRE2 (PHP >=7.3)
Match only Public IPv4 Does not match Private IPv4 However does match test Nets
Submitted by
NozZy
-
a year ago
(Last modified a year ago)
1
Private IPv4
PCRE2 (PHP >=7.3)
Match only Public IPv4 Does not match Private IPv4 and test Nets
Submitted by
anonymous
-
a year ago
1
2