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,700 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
C#
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-03-31 10:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
aegn_closing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-03-30 15:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Empty Blank String Validator
ECMAScript (JavaScript)
Validation Expression to validate Blank String checks
Submitted by
zaheer
-
7 years ago
2016-03-30 14:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
places
ECMAScript (JavaScript)
This is a regular expression for validating places
Submitted by
noby nirmal
-
7 years ago
2016-03-30 09:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Josiah url
ECMAScript (JavaScript)
no description available
Submitted by
Josiah
-
7 years ago
2016-03-29 17:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-03-29 17:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
\[[bui]\]
ECMAScript (JavaScript)
no description available
Submitted by
Charlie
-
7 years ago
2016-03-29 16:18
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
-
7 years ago
2016-03-29 15:46
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
allow only alpabets digits and special characters
ECMAScript (JavaScript)
allow only alpabets digits and special characters
Submitted by
anonymous
-
7 years ago
2016-03-29 07:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
select you exclude bayou
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-03-29 06:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match but don't capture
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-03-28 21:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sp push
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-03-28 20:28
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
-
7 years ago
2016-03-28 14:00
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
-
7 years ago
2016-03-28 05:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
id validation
ECMAScript (JavaScript)
This will catch the id which is an integer and not characters mixed with numbers
Submitted by
noby nirmal
-
7 years ago
2016-03-28 05:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
id regex
ECMAScript (JavaScript)
this regular expression can be used for validating id
Submitted by
noby nirmal
-
8 years ago
2016-03-24 12:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
dot detector in floating point number
ECMAScript (JavaScript)
This regex will detect . any number of times between numbers
Submitted by
noby nirmal
-
8 years ago
2016-03-24 07:58
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Phone number matcher
ECMAScript (JavaScript)
Country code 1
Submitted by
anonymous
-
8 years ago
2016-03-23 18:50
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
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
check trailing slash domain
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-03-23 14:35
1
...
240
241
242
243
244
245
246
...
285
Url regex that capture the domain of the URLs
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(?:
http
|
https
)
:
\/\/
(
(?:
[
\w
-
]
+
)
(?:
\.
[
\w
-
]
+
)+
)
(?:
[
\w
.,@?^=%&:
\/
~+#-
]
*
[
\w
@?^=%&
\/
~+#-
]
)?
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
D<OS>
-
8 years ago
2015-11-26 22:43