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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 11,800 community submitted regex patterns...
40
URL regexp
PCRE (PHP <7.3)
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago
1
...
588
589
590
IPv4 validation using recursion
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
2
[
0
-
4
]
\d
|
25
[
0
-
5
]
|
1
\d\d
|
\d\d
?
)
\.
(?1)
\.
(?1)
\.
(?1)
$
/
gm
Open regex in editor
Description
Validate IPv4 addresses using PCRE's recursion patterns.
Submitted by
Captain Haddock
-
9 years ago