Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 11,480 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Christinger | Name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-21 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regexNVP
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-21 07:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bank Account Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-21 00:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-20 23:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
multi-line java-style comments
PCRE (PHP <7.3)
Comments of type /* ... */ and java-doc are matched.
Submitted by
anonymous
-
5 years ago
2019-02-20 22:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
www-urls without protocol and not in <a>-tag
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-20 15:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
href harmonisation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-20 15:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
function identifier with arguments
PCRE (PHP <7.3)
matches a function signature and extracts the function name and the contents of the parenthesis as match groups
Submitted by
anonymous
-
5 years ago
2019-02-20 09:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URI start with
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 22:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 16:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove anything but float and integer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 13:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 11
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 06:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 11 My solution
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 06:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 10
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 05:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 10 My solution
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 05:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for comments.
PCRE (PHP <7.3)
"Comments" surrounded by /* and / without an inner */ unless it is surrounded by "". ex. /a"/"b/ is in the language.
Submitted by
anonymous
-
5 years ago
2019-02-19 02:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 9
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 01:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 9 My solution
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-19 01:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 8
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-18 23:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching Numeric Ranges with a Regular Expression 7
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-18 23:04
1
...
225
226
227
228
229
230
231
...
574
Date03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
2
]
[
0
-
9
]
{3}
|
[
0
-
9
]
{2}
)
(
\s
*
|
\/
|
[
-
]
|
[
.
]
)
(
[
0
-
1
]
*
[
0
-
9
]
)
(
\s
*
|
\/
|
[
-
]
|
[
.
]
)
(
[
0
-
9
]
{1,2}
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
playwhyyza
-
5 years ago
2019-02-15 08:34