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 9,620 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IPTV Playlist
PCRE (PHP <7.3)
Get parts of an IPTV playlist
Submitted by
anonymous
-
4 years ago
2020-03-16 09:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular expression grammar in escaped quotation form
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-16 20:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
simple compulsory 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-17 03:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Ips for Cloudformation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-17 13:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
substitute 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-17 17:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CN detection
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-18 09:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Finding match for a expression in a case-insensitive and flexible way
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-18 20:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Detect Twitch cheermotes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-18 20:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PV Codes: ANT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-19 09:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ANT PDP's
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-19 10:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ANT pages
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-19 10:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
titulo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-20 13:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-20 16:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
number_lexer
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-21 00:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cisco show run interface
PCRE (PHP <7.3)
This regex fetches interface ID along with its ip address and description if configured otherwise blank
Submitted by
anonymous
-
4 years ago
2020-03-22 09:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
phone regex validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-22 19:04
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)
find including multiline
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-24 06:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CSB34 Account header
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-03-24 19:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get parent folder and file name from full path
PCRE (PHP <7.3)
This expr will get the parent folder and file name from a full path eg: c:\folder1\folder2\folder3\file1.txt returns folder3\file1.txt
Submitted by
anonymous
-
4 years ago
2020-03-24 22:14
1
...
463
464
465
466
467
468
469
...
481
date re-arrange for openhab2
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
\d\d\d\d
)
-
(
\d\d
)
-
(
\d\d
)
T
(
\d\d
:
\d\d
:
\d\d
)
.
*
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
4 years ago
2020-05-16 06:28