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 4,380 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Numbered Lists
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-17 07:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Numbered Paragraphs
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-17 07:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MineDisc
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-18 20:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bazel workspace parser
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-18 21:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Minecraft_to_Discord_formatting
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-18 21:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Sections
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-19 13:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Emojicleaner
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-19 19:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Crontabber
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-03-19 21:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ngettext regex
Python
Matches strings within a ngettext call. Covers the following examples: ngtxt('i am in single-quotes', 'i am in single-quotes 2', foo) ngtxt('i have \' an escaped single-quote within single-quotes', 'i have \' an escaped single-quote within single-quotes 2', foo) ngtxt('i have a "double-quote" in sin...
Submitted by
anonymous
-
4 years ago
2020-03-20 22:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
gettext regex
Python
Matches strings within a gettext call. Covers the following examples: gtxt('i am in single-quotes') gtxt('i have \' an escaped single-quote within single-quotes') gtxt('i have a "double-quote" in single-quotes') gtxt("i am in double-quotes") gtxt("i am in double-quotes with single 'quotes'")...
Submitted by
anonymous
-
4 years ago
2020-03-20 23:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
First Names
Python
First names Allows for a hyphen Allows for a space Allows for a apostrophe
Submitted by
@thegamerbr1
-
4 years ago
2020-03-21 02:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Float representation
Python
All float representations that can be consumed by strtod() (string to double function in c) Compatible with flex/bison
Submitted by
anonymous
-
4 years ago
2020-03-22 11:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Domain validation regex suitable for user input
Golang
This regexp can be used to validate domain names in Golang. While it cannot enforce the 253 character limit (with optional trailing period not included) that can be easily done with a len(domain) <= 253 check. This can be used as-is in other languages, even with RE2 regex engine. Non-capturing grou...
Submitted by
anonymous
-
4 years ago
2020-03-23 01:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract the actual sub-clauses numbers referred in the cross reference
Python
From the full expression of sub clause or clause referred, it extracts the actual numbers and returns the list of them.
Submitted by
anonymous
-
3 years ago
2020-03-26 13:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Subparagraph
Python
Searches whether a string of cross references contains the sub paragraph part or not.
Submitted by
anonymous
-
3 years ago
2020-03-26 13:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get regex group intersections, not at the end
Python
Not sure
Submitted by
anonymous
-
3 years ago
2020-03-27 10:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
BD Phone No Regex
Python
no description available
Submitted by
anonymous
-
3 years ago
2020-03-30 11:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match mandatory groups in a row
Python
no description available
Submitted by
anonymous
-
3 years ago
2020-03-31 15:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-04-01 16:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match text within HTML tags
Python
no description available
Submitted by
anonymous
-
3 years ago
2020-04-05 21:22
1
...
150
151
152
153
154
155
156
...
219
Data_Download_Investigator
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
{
\'
?
\w
+
\'
?
\:
?
?
\'
?
\w
+
\/
?
\w
+
?
\-
?
?
\w
+
?
\w
+
?
\w
+
\'
?
(
\,
?
)
?
\'
?
\w
+
\'
?
\:
?
?
\'
?
(
\d
+
)?
\-
?
(
\d
+
)?
\-
?
(
[
a
-
z0
-
9A
-
Z/:
\'
]
+
)?
(
\,
?
)
?
\,
?
\'
?
\w
+
\'
?
\:
?
?
\'
?
(
\w
+
)?
\'
?
(
\,
?
)
?
\'
?
(
\w
+
)?
\'
?
\:
?
?
\'
?
(
[
a
-
zA
-
Z
0
-
9,
\\\.\-\;\(\)\$\:\/
]
+
)?
\'
?
}
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-12-17 09:24