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...
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Is String having proper quotes around it
ECMAScript (JavaScript)
Language : Javascript Description : This will helpful for validating contents from a text editor where all the values are string and you need to verify that string must be a single string having quotes around it. Note : This regex is best applicable by trimming the string before checking with thi...
Submitted by
PranomVignesh<pranomvignesh@gmail.com>
-
3 years ago
2021-01-29 07:47
(Last modified 2 years ago)
2021-06-21 14:57
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Strip from Token to End of Line
ECMAScript (JavaScript)
Utilize " -- " as a Token and strips from the token to the end of the line.
Submitted by
anonymous
-
2 years ago
2021-08-24 00:28
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
validade email
ECMAScript (JavaScript)
this regex validates e-mails. const isValid= .text(value)
Submitted by
anonymous
-
2 years ago
2021-09-29 18:09
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Match all but string content
ECMAScript (JavaScript)
Match all but string content
Submitted by
luizandress
-
2 years ago
2021-10-07 19:53
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
.NET tools
ECMAScript (JavaScript)
a
Submitted by
anonymous
-
2 years ago
2022-03-15 08:50
(Last modified 2 years ago)
2022-03-15 08:53
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Email Regex
ECMAScript (JavaScript)
Email Validation Regex
Submitted by
anonymous
-
a year ago
2022-04-25 21:57
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Remove HTML tags from a string using JavaScript and RegEx
ECMAScript (JavaScript)
Remove HTML tags from a string using JavaScript and RegEx
Submitted by
Megralo
-
a year ago
2022-05-10 09:07
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Email
ECMAScript (JavaScript)
validation email
Submitted by
anonymous
-
a year ago
2022-10-13 04:30
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Extract favicon from html head meta links
ECMAScript (JavaScript)
I needed a generic way to pull the shortcut icon for sites. This expression parses the html for the icon. If the icon was not found, my code checks for the "favicon.ico" in the root of the site.
Submitted by
groundh0g
-
a year ago
2022-10-29 13:39
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
4 months ago
2023-05-17 17:36
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
3 months ago
2023-06-12 09:46
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Email with (TLD match)
ECMAScript (JavaScript)
Match an email address and the TLD (.com, .net, .org etc) String: test@test.net Matches: test@test.net|.net
Submitted by
Frosty
-
3 months ago
2023-06-16 19:08
(Last modified 3 months ago)
2023-06-16 19:09
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
IPv4 Address Match
ECMAScript (JavaScript)
Matches IP addresses
Submitted by
jimbrig
-
3 months ago
2023-06-22 21:34
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Dart relative import
Java 8
find dart relative import path
Submitted by
sagarpanchal
-
2 months ago
2023-07-11 13:37
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Capturing groups with suffix
Java 8
Capturing the content of column names which are duplicate in nature to extract the actual name and suffix ("right" / "left")
Submitted by
anonymous
-
2 months ago
2023-07-17 08:05
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
匹配引号内容/match quotation mark content
ECMAScript (JavaScript)
匹配带引号内容,被引号包含的内容 结构($x) ((前引号)(内容)(后引号)) 整体内容(包含引号)...
Submitted by
诶!你的尾巴掉了
-
2 months ago
2023-07-18 01:09
(Last modified 2 months ago)
2023-07-18 01:38
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
North America - US - N11 Service Number - e.164 compliant/non-compliant
ECMAScript (JavaScript)
This expression can be used for identifying if a string (such as a dialed number using a cloud based telephony service) matches one of the known North American US N11 Service Numbers. It will match if the number is in e.164 format or not, and only matches when the string begins and ends with the des...
Submitted by
Benjamin Dean
-
7 years ago
2016-09-29 15:27
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
get only ids
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-10-17 14:42
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Passwords
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-03 20:10
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Discord Emojis
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
2017-07-17 03:55
1
...
77
78
79
80
81
82
83
...
188
jekyll-process3
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
>
(
[^
<
]
+
)
[^
[
]
+
\[
(
[^
\]
]
+
)
]
\[
(
[^
\]
]
+
)
]
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-07-25 22:41