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,760 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Line match
ECMAScript (JavaScript)
Regex to match any no of lines
Submitted by
noby nirmal
-
7 years ago
2016-05-28 07:36
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
date dd.mm.yyyy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-31 16:03
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Number with optional decimal part
ECMAScript (JavaScript)
This regex checks for numbers with optional decimal part.
Submitted by
Pratik Sanyal
-
7 years ago
2016-06-07 15:46
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Number Ranges
ECMAScript (JavaScript)
Select number ranges dynamically
Submitted by
@yosefh
-
7 years ago
2016-06-08 12:18
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Phone Number
ECMAScript (JavaScript)
For phone numbers with country code(Optional)followed by 10 digit phone number.
Submitted by
Kshama
-
7 years ago
2016-06-09 09:39
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Simple 'Good Enough' Javascript Regex (ASCII Only)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-13 20:04
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
email-address
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-17 15:28
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
7 years ago
2016-06-22 06:56
(Last modified 2 months ago)
2023-07-20 08:08
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
REGEX REVERSE
ECMAScript (JavaScript)
REGEX REVERSE
Submitted by
ljarray
-
7 years ago
2016-06-23 10:09
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
SearchForPhotoName
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-29 22:45
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
a
ECMAScript (JavaScript)
a
Submitted by
a
-
7 years ago
2016-06-30 03:35
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
HH:MM
ECMAScript (JavaScript)
Validates 24 hour formmatted hours and minutes
Submitted by
anonymous
-
7 years ago
2016-07-01 11:00
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Parse JSON values
ECMAScript (JavaScript)
Parses JSON keys and values between quotation marks, supports escaping the quotation marks by backspashes
Submitted by
anonymous
-
7 years ago
2016-07-05 20:17
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
fiter plain text from plain text + html content
ECMAScript (JavaScript)
It fiters plain text from plain text + html content, the input has the shape: "plain text html content" It keeps only the plain text at the beginning.
Submitted by
gugol
-
7 years ago
2016-07-05 21:12
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
filepath
ECMAScript (JavaScript)
finds filepath /asdfa/a
Submitted by
anonymous
-
7 years ago
2016-07-06 21:25
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Resource ID validation regex
ECMAScript (JavaScript)
Validator for a typical resource ID string
Submitted by
WinCPP
-
7 years ago
2016-07-16 09:59
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Resource ID validator
ECMAScript (JavaScript)
Regex to validate a typical resource ID
Submitted by
WinCPP
-
7 years ago
2016-07-16 10:02
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
File Extension
ECMAScript (JavaScript)
Get the file extension from a path regardless of dots in folder names leading to the file
Submitted by
Louis Capitanchik
-
7 years ago
2016-07-17 09:27
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
email Regex for .com and/or .co.uk
ECMAScript (JavaScript)
this regex matches for .com and/or .co.uk
Submitted by
Michael Kindle
-
7 years ago
2016-07-18 04:07
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Character sequesnce inside single quotes
ECMAScript (JavaScript)
serch the character sequesnce inside single quotes
Submitted by
Shridutt KOthari
-
7 years ago
2016-07-18 07:03
1
...
73
74
75
76
77
78
79
...
188
Report url regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
^
/
(
\w
+
)
/
(
\w
+
)
/
(
[
a
-
fA
-
F
\d
]
+
)
(
$
|
/
.
*
)
`
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-10-08 16:37