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
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 18,000 community submitted regex patterns...
1
Match Common HTML Attributes
PCRE2 (PHP >=7.3)
NoteAbleLists.com
Submitted by
anonymous
-
3 months ago
1
Match Valid CSS Units (px, em, %, etc.)
PCRE2 (PHP >=7.3)
amazingtoptens.com
Submitted by
anonymous
-
3 months ago
1
Match Decimal Numbers (Optional Fraction)
PCRE2 (PHP >=7.3)
buzzmeone.com
Submitted by
anonymous
-
3 months ago
1
Match Date in ISO 8601 Format
PCRE2 (PHP >=7.3)
ekindesigns.com
Submitted by
anonymous
-
3 months ago
1
Match File Paths (Unix Style)
PCRE2 (PHP >=7.3)
gbtvtalk.com
Submitted by
anonymous
-
3 months ago
1
Match Common Programming Keywords (e.g., class, function)
PCRE2 (PHP >=7.3)
mitroaccess.com
Submitted by
anonymous
-
3 months ago
1
Match 24-Hour Time with Optional Seconds
PCRE2 (PHP >=7.3)
touch-notes.com
Submitted by
anonymous
-
3 months ago
1
Match Valid CSS Properties
PCRE2 (PHP >=7.3)
AlpineAngels.net
Submitted by
anonymous
-
3 months ago
1
Match Non-Whitespace Characters
PCRE2 (PHP >=7.3)
BestTechTime.com
Submitted by
anonymous
-
3 months ago
1
Match US ZIP Code and Extension
PCRE2 (PHP >=7.3)
ButFirstCreate.com
Submitted by
anonymous
-
3 months ago
1
Match Optional URL Path
PCRE2 (PHP >=7.3)
EducationalPage.net
Submitted by
anonymous
-
3 months ago
1
Match Valid UUID v4
PCRE2 (PHP >=7.3)
LariMedia.org
Submitted by
anonymous
-
3 months ago
1
Match IPv6 Address
PCRE2 (PHP >=7.3)
Movin4Life.org
Submitted by
anonymous
-
3 months ago
1
Match Legal HTML Tags
PCRE2 (PHP >=7.3)
NewNulled.com
Submitted by
anonymous
-
3 months ago
1
Match Valid HTML5 Color Names
PCRE2 (PHP >=7.3)
RascalJournal.com
Submitted by
anonymous
-
3 months ago
1
Match Passwords with Minimum Length and Special Characters
PCRE2 (PHP >=7.3)
SimsWriters.com
Submitted by
anonymous
-
3 months ago
1
Match SQL Comments
PCRE2 (PHP >=7.3)
fluiddigitalmedia.com
Submitted by
anonymous
-
3 months ago
1
Match Hexadecimal Strings regex
PCRE2 (PHP >=7.3)
hackingtechnicalinterview.com
Submitted by
anonymous
-
3 months ago
1
Match US ZIP Code with Optional Extension
PCRE2 (PHP >=7.3)
miyuediy.net
Submitted by
anonymous
-
3 months ago
1
Match Times in 12-Hour Format (HH AM/PM)
PCRE2 (PHP >=7.3)
onlinebusinessshop.net
Submitted by
anonymous
-
3 months ago
1
...
824
825
826
827
828
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
10
|
127
)
(
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
)
|
169
\.
254
|
192
\.
168
|
172
\.
(
2
[
0
-
9
]
|
1
[
6
-
9
]
|
3
[
0
-
1
]
)
)
(
\.
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
01
]
?
[
0
-
9
]
[
0
-
9
]
?
)
){2}
$
/
gm
Open regex in editor
Description
Match only Public IPv4
Does not match Private IPv4 and test Nets
Submitted by
anonymous
-
6 months ago