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 3,780 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
UK Postcode
ECMAScript (JavaScript)
Tests UK Postcode with alternative for Postcode Prefix
Submitted by
Calvin Willman
-
8 years ago
2016-02-23 20:56
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
text validation
ECMAScript (JavaScript)
allows white spaces, -, Umlaut and ß
Submitted by
anonymous
-
8 years ago
2016-02-26 10:31
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
At least 8 chars, at least a Mayus or special char & at least a number
ECMAScript (JavaScript)
no description available
Submitted by
Luis Arias :D
-
8 years ago
2016-03-08 17:10
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Check That User Has Input Valid YYYY
ECMAScript (JavaScript)
This simple regex checks if a user has input correct YYYY format.
Submitted by
@izotope115
-
8 years ago
2016-03-10 21:43
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Validates Against YYYY
ECMAScript (JavaScript)
This regex checks if a user has input 4 digit year integer.
Submitted by
@izotope115
-
8 years ago
2016-03-10 21:51
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
ContentPlace Xml Tag
ECMAScript (JavaScript)
ContentPlace Xml Tag
Submitted by
Saeed Tabrizi
-
8 years ago
2016-03-11 13:18
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regex Fecha yyyy-MM-dd
ECMAScript (JavaScript)
valida fechas de 19## a 20##, en formato yyyy-MM-dd
Submitted by
http://www.regular-expressions.info/dates.html
-
8 years ago
2016-03-11 16:42
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Payment process
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-03-14 09:05
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
get lowercase letters
ECMAScript (JavaScript)
get lowercase letters
Submitted by
jho
-
8 years ago
2016-03-14 12:52
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Workspaces
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-03-14 14:24
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Workspace case insensitive
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-03-14 14:25
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Website url maxLength 50
ECMAScript (JavaScript)
no description available
Submitted by
Josiah
-
8 years ago
2016-03-22 18:59
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match special characters excl. unicode accented, _, -, and whitespace
ECMAScript (JavaScript)
Covers Latin-1 Supplement Latin Extended-A Latin Extended-B Greek and Coptic
Submitted by
anonymous
-
8 years ago
2016-03-23 14:53
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
number
ECMAScript (JavaScript)
This is for the validation of number
Submitted by
Noby nirmal
-
8 years ago
2016-03-28 05:55
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
JSON (In progress)
ECMAScript (JavaScript)
Regex to qoute a JSON-string
Submitted by
Lars Willighagen
-
8 years ago
2016-03-28 14:00
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Quote JSON keys
ECMAScript (JavaScript)
Regex to quote keys to parse a string of relaxed JSON. Rules: No ':', '"' or newline in keys allowed
Submitted by
Lars Willighagen
-
8 years ago
2016-03-29 15:46
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
zepit multiline
ECMAScript (JavaScript)
no description available
Submitted by
antoine
-
8 years ago
2016-03-31 23:27
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Date expression
ECMAScript (JavaScript)
yyyy-mm-dd
Submitted by
Alan
-
8 years ago
2016-04-02 13:41
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Strip the Headers from a response where JSON is present
ECMAScript (JavaScript)
HTTP/1.0 404 Not Found Cache-Control: no-cache Content-Type: application/json {"validation_message":'...'} ...
Submitted by
John B.
-
8 years ago
2016-04-07 14:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Firstname Lastname(double)
ECMAScript (JavaScript)
Example: ANDA IVANOVA-KRIVONOGOVA
Submitted by
KSrGEAR
-
8 years ago
2016-04-14 15:38
1
...
73
74
75
76
77
78
79
...
189
REGEX REVERSE
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
(
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
.
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
\.
[
>,<,>=,<=,==,<,!=
]
\.
(
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)
|
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
(
]
(
[
a
-
z
]
+
[
A
-
Z
]
*
[
0
-
9
]
*
)+
[
)
]
)
)+
(
OR
|
AND
|
{}
)
)*
/
Open regex in editor
Description
Loading markdown...
Submitted by
ljarray
-
7 years ago
2016-06-23 10:09