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 5,800 community submitted regex patterns...
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
rfc5646 simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-23 21:59
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
first num after rgb
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-19 19:40
0
3 upvotes, 3 downvotes (score 18.8%) (You must be signed in to vote)
Telephone Number Simple
ECMAScript (JavaScript)
no description available
Submitted by
Nemesarial
-
9 years ago
2014-11-19 12:01
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Simple Email Validation
ECMAScript (JavaScript)
Does not match everything, but good for a cross-platform validation filter.
Submitted by
anonymous
-
9 years ago
2014-11-17 08:58
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
incorrect number regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-16 05:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Simple first exercise of a newbie
ECMAScript (JavaScript)
Find a group of 9 letters subdivided in groups of three by a dash.
Submitted by
Nicola Jelmorini
-
9 years ago
2014-11-15 12:31
3
5 upvotes, 2 downvotes (score 35.9%) (You must be signed in to vote)
javascript template replacement
ECMAScript (JavaScript)
no description available
Submitted by
akamaozu
-
9 years ago
2014-11-14 06:21
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Email validation
ECMAScript (JavaScript)
Very crude, but effective email validation.
Submitted by
Ryan Oaks
-
9 years ago
2014-11-11 21:35
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
match sequential characters
ECMAScript (JavaScript)
HI, I'm looking for RegX to match words with more than two sequential characters
Submitted by
JC
-
9 years ago
2014-11-09 21:06
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
rr
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-11-09 20:56
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Date validation
ECMAScript (JavaScript)
A regular expression to validate a Date in format DD/MM/YYYY
Submitted by
Felipe Montaña
-
9 years ago
2014-11-07 21:30
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression for Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have resolved the issue for leap Year and month ending day as well.
Submitted by
Priyanka Khadilkar
-
9 years ago
2014-11-07 06:52
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Regular Expression For Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have Resolved leap year issue as well as month ending day issue with Regular expression
Submitted by
Priyanka Khadilkar
-
9 years ago
2014-11-07 06:50
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Find CSS Class with ability to replace
ECMAScript (JavaScript)
Changing class names is hard with a large codebase written in multiple languages. Classes can appear in several constructs. This tries to match the various ways a class can be represented in HTML. Plug the RegEx in to Sublime Text 2 using "Find in Files...". When replacing in ST2, change $1 to \1.
Submitted by
Matthew (@sirlancelot)
-
9 years ago
2014-11-05 18:48
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
date validation
ECMAScript (JavaScript)
Validation for date 2013.12.24 14:50
Submitted by
axelprog
-
9 years ago
2014-11-04 14:51
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
9 years ago
2014-11-03 11:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
omit data between single quotes
ECMAScript (JavaScript)
hi, i've been trying for hours to do this, i need to omit all text between single quotes / double quotes can someone help with this
Submitted by
avi.m
-
9 years ago
2014-11-02 09:12
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
9 years ago
2014-10-31 17:31
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Remove invalid characters and autotrim
ECMAScript (JavaScript)
remove the multiline switch
Submitted by
iamtheauthor
-
9 years ago
2014-10-30 11:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Failure case for repeated strings
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-10-29 13:11
1
...
281
282
283
284
285
286
287
...
290
URL Cleaner
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
https
?
:
\/\/
)?
(
www
\.
)?
(
\S
+
)
(
\.
[^
\s
\/
]
+
)
(
\/
\S
*
)?
/
mg
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-05-31 01:53
(Last modified 24 days ago)
2023-11-06 03:36