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 12,580 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
reference
PCRE (PHP <7.3)
no description available
Submitted by
karthikeyan
-
9 years ago
2015-01-05 12:59
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Extract Metadata
PCRE (PHP <7.3)
no description available
Submitted by
kai_desu
-
9 years ago
2015-01-02 22:14
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
#Set-Cookie:\\s+(?<cookie>[^=]+=[^;]+)#m regex explanation
PCRE (PHP <7.3)
no description available
Submitted by
Igor
-
9 years ago
2015-01-02 02:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Ham radio callsign
PCRE (PHP <7.3)
Use part 1, 3 , 5 for establish the portable callsign like 1 = DL/ 2 = F5UII 3 = /QRP
Submitted by
F5UII (http://www.fuii.net)
-
9 years ago
2015-01-01 14:15
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
reference
PCRE (PHP <7.3)
reference pattern checking
Submitted by
karthikeyan
-
9 years ago
2014-12-31 13:03
-2
1 upvotes, 3 downvotes (score 4.6%) (You must be signed in to vote)
regex demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-31 11:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
tr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-31 10:19
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
UUID regex
PCRE (PHP <7.3)
no description available
Submitted by
santisaez
-
9 years ago
2014-12-29 22:58
3
4 upvotes, 1 downvotes (score 37.6%) (You must be signed in to vote)
TEST
ECMAScript (JavaScript)
negation
Submitted by
anonymous
-
9 years ago
2014-12-29 22:00
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Fetch file information using File URL.
PCRE (PHP <7.3)
Get information from File URL such as, Extension. Parent folder name. Drive name. File name.
Submitted by
-Harshal.Ahire (ahireharshal@gmail.com)
-
9 years ago
2014-12-26 09:16
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Route Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-25 19:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
VNC-58
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-24 14:35
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Phone Number Validation
PCRE (PHP <7.3)
Only Numbers Allowed, Optional (+) for international numbers Min: 10 Max: 14 Optional: +
Submitted by
Menon Kalipurayath (MenonOn.Net)
-
9 years ago
2014-12-24 06:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
My test
PCRE (PHP <7.3)
My test
Submitted by
Mike
-
9 years ago
2014-12-22 22:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
attributeselector
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-21 22:39
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
only pixel set font-size
PCRE (PHP <7.3)
no description available
Submitted by
amaroyche
-
9 years ago
2014-12-21 15:59
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Extract Fields from Mailexpire
PCRE (PHP <7.3)
Given the HTML of an alias's control panel, apply the XPath "//span[@class='maintext']". The second result returned can be parsed by this regex to yield the most pertinent field names and their values.
Submitted by
Crumeniferus
-
9 years ago
2014-12-20 00:16
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Extraire sku URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2014-12-19 17:10
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
The regex tested for all occurences of % that are not within quotation
PCRE (PHP <7.3)
all occurences of % that are not within quotation characters
Submitted by
Igor Savinkin
-
9 years ago
2014-12-19 14:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
qwe
PCRE (PHP <7.3)
qweqwe
Submitted by
qwe
-
9 years ago
2014-12-18 14:45
1
...
594
595
596
597
598
599
600
...
629
trans with var
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(
[^
{
]
*
)
(
\{\{
*
\w
+
*
\}\}
[^
{
]
*
)*
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 years ago
2014-12-15 12:57