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,020 community submitted regex patterns...
1
Match Complex Strings with Nested Patterns
PCRE2 (PHP >=7.3)
scrolltalk.com
Submitted by
anonymous
-
4 months ago
1
Match IP Address with Subnet
PCRE2 (PHP >=7.3)
dailynewstalk.org
Submitted by
anonymous
-
4 months ago
1
Match Currency Amount with Optional Symbols
PCRE2 (PHP >=7.3)
megformeg.com
Submitted by
anonymous
-
4 months ago
1
Match Social Security Numbers (US)
PCRE2 (PHP >=7.3)
handspreca.com
Submitted by
anonymous
-
4 months ago
1
Match Valid Email Addresses with Local Part Length
PCRE2 (PHP >=7.3)
soccernetlive.com
Submitted by
anonymous
-
4 months ago
1
Match Specific Year Format (YYYY)
PCRE2 (PHP >=7.3)
dotorgpower.com
Submitted by
anonymous
-
4 months ago
1
Match String with Limited Length
PCRE2 (PHP >=7.3)
businesshowto.net
Submitted by
anonymous
-
4 months ago
1
Extract All Matches from a Text
PCRE2 (PHP >=7.3)
forcetekusa.com
Submitted by
anonymous
-
4 months ago
1
Match Postal Codes (US Format)
PCRE2 (PHP >=7.3)
bignewscentral.com
Submitted by
anonymous
-
4 months ago
1
Match URL with Optional Protocol
PCRE2 (PHP >=7.3)
bayoulee.com
Submitted by
anonymous
-
4 months ago
1
Extract HTML Content Between Tags
PCRE2 (PHP >=7.3)
memoryjarapp.com
Submitted by
anonymous
-
4 months ago
1
Match Nested Parentheses and Brackets
PCRE2 (PHP >=7.3)
memoryjarapp.com
Submitted by
anonymous
-
4 months ago
1
Match Word Characters with Optional Hyphens
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
4 months ago
1
Match a date in DD-MM-YYYY format
PCRE2 (PHP >=7.3)
memoryjarapp.com
Submitted by
anonymous
-
4 months ago
1
Match a string with alternating uppercase and lowercase letters
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
4 months ago
1
Match a string with nested brackets
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
4 months ago
1
Match a string with specific length and content
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
4 months ago
1
Match a string with specific length and content
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
4 months ago
1
Match a valid Twitter handle
PCRE2 (PHP >=7.3)
meetiin.com
Submitted by
anonymous
-
4 months ago
1
Match a valid Twitter handle
PCRE2 (PHP >=7.3)
meetiin.com
Submitted by
anonymous
-
4 months ago
1
...
12
13
14
15
16
...
901
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
0
-
1
]
?
[
0
-
9
]
[
0
-
9
]
?
)
\.
){3}
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
0
-
1
]
?
[
0
-
9
]
[
0
-
9
]
?
)
(?:
\/
(
[
0
-
9
]
|
[
1
-
2
]
[
0
-
9
]
|
3
[
0
-
2
]
)
)?
$
/
gm
Open regex in editor
Description
dailynewstalk.org
Submitted by
anonymous
-
4 months ago