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 17,120 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Take specified main tag and children tags plus contents between children except HTML
PCRE (PHP <7.3)
First matches the children specified opened or self-closed tags and their contents. If not found, matches opening tag. If not found, matches closing tag.
Submitted by
anonymous
-
4 years ago
2019-06-25 09:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
netstat -anob
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-25 12:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
@BANQUEPOSTALE
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-25 12:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ShortcutLinkInline
Python
no description available
Submitted by
anonymous
-
4 years ago
2019-06-25 12:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
comand.py:InlineCommand
Python
no description available
Submitted by
anonymous
-
4 years ago
2019-06-25 13:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matching loop with equality condition
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-25 13:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sueldos imed
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-26 01:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IMAP Folders
PCRE (PHP <7.3)
Extract folder name and markers from a list of IMAP folders.
Submitted by
anonymous
-
4 years ago
2019-06-26 01:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Gif and Jpg finder
PCRE (PHP <7.3)
Used matching to http links within a page_source that are either jpeg or gif formats
Submitted by
anonymous
-
4 years ago
2019-06-26 01:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Code Gen Regex
PCRE (PHP <7.3)
This is what we use to generate coupon codes for the company events
Submitted by
anonymous
-
4 years ago
2019-06-26 03:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ASM
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-26 12:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MAC Address
Python
Simply match a run of the meal MAC address
Submitted by
anonymous
-
4 years ago
2019-06-26 14:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
schema, domain, port
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-27 07:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match odd amount of backslashes.
Python
This regular expression will match anytime in a string where an odd amount of backslashes directly following eachother are present.
Submitted by
anonymous
-
4 years ago
2019-06-27 10:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SQL INSERT Columns only
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-27 13:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
放音乐
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-06-28 09:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex Remove URL Parameters
PCRE (PHP <7.3)
Removing URL Parameters from URL PATH
Submitted by
anonymous
-
4 years ago
2019-06-30 02:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CRON Expression Regex
ECMAScript (JavaScript)
Any Number Allow range 12-34 some special characters Only W and L alphabet for demo use.
Submitted by
anonymous
-
4 years ago
2019-07-01 06:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
关闭
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-07-01 08:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
10 day regex FULL - 9 props
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2019-07-01 09:24
1
...
658
659
660
661
662
663
664
...
856
telegraf.conf
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(
^.
+
endpoint
database
needs
to
be
configured
on
server
.
+
\n^.
+
)
#
(
.
+
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2019-07-25 17:36