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 11,500 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Google Analytics - Content grouping - Regex fix
Python
http://stackoverflow.com/questions/32650744/google-analytics-content-grouping-regex-fix
Submitted by
anonymous
-
8 years ago
2015-09-23 15:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Test File
PCRE (PHP <7.3)
Test Description
Submitted by
Test Author
-
8 years ago
2015-09-23 15:51
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match local development domain
PCRE (PHP <7.3)
no description available
Submitted by
Nico Schneier
-
8 years ago
2015-09-23 18:01
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Amazon_SS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-23 23:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parsing Basketball Matchup
PCRE (PHP <7.3)
Written mostly in Notepad++, bitches!
Submitted by
@just_abs
-
8 years ago
2015-09-24 04:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
tds-1
PCRE (PHP <7.3)
form26as partA
Submitted by
gopinath
-
8 years ago
2015-09-24 09:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
remove valid receipts
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-24 09:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find div with any string inside
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-24 12:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Search for status
PCRE (PHP <7.3)
IVLSInstallation.log includes a status for the upgrade
Submitted by
jhambly
-
8 years ago
2015-09-24 13:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
9.24.15
PCRE (PHP <7.3)
First Test Regex
Submitted by
anonymous
-
8 years ago
2015-09-24 18:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match any .mpg
PCRE (PHP <7.3)
Match any content string that ends in .mpg. Useful for MPEG filters on HTTP requests
Submitted by
Dolly Feathers
-
8 years ago
2015-09-24 19:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
all regex
PCRE (PHP <7.3)
selects anything todo with regex, (regualr expressions,regular expression, regex, regexp, regexes)
Submitted by
@-ScratchOs
-
8 years ago
2015-09-24 19:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
better
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-24 20:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
jaswsinc: The second trickiest regex pattern I've ever written
PCRE (PHP <7.3)
Notice that I had to find this anywhere in the string, unlimited times, and account for escaped quotes.
Submitted by
Jason Caldwell
-
8 years ago
2015-09-25 02:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SupplierNet: Erstat xp:tr med inputtext
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2015-09-25 09:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Find legacy PHP opening tags
PCRE (PHP <7.3)
Matches <? not followed by a p or an x (finds <? and <?=, ignores <?php and <?xml
Submitted by
anonymous
-
8 years ago
2015-09-25 12:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
dXNpbmcgU3lzdGV.GtLklPOw0KdXNpbmcgU3lzdGVtOw0KDQpjbGFzcyBQcm9 ncmFtDQp
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-09-25 20:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Sides
PCRE (PHP <7.3)
Looks for sides
Submitted by
D.S.
-
8 years ago
2015-09-25 21:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Get specified open tag
PCRE (PHP <7.3)
Get open tags with content and attributes
Submitted by
Masoud Zohrabi <mdzzohrabi@gmail.com
-
8 years ago
2015-09-26 07:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Apache with " in referer
PCRE (PHP <7.3)
Apache combined log parser with/without escape " in the referer.
Submitted by
Dominique
-
8 years ago
2015-09-26 13:06
1
...
97
98
99
100
101
102
103
...
575
color-price-count
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
[
a
-
z
\d
\#
]
+
)
-
(
[
\d
]
+
)
-
(
[
\d
]
+
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
By me
-
6 years ago
2017-12-19 00:30