Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,000 community submitted regex patterns...
1
match all between quotes
PCRE2 (PHP >=7.3)
this matches everything between quotation marks, the \" can be changed into whatever you need
Submitted by
anonymous
-
3 years ago
1
Sutthinart
PCRE2 (PHP >=7.3)
Private Regex Library
Submitted by
Sutthinart Khunvadhana
-
3 years ago
1
trino kill query ID
PCRE2 (PHP >=7.3)
trino kill query ID
Submitted by
anonymous
-
3 years ago
1
trino kill query
PCRE2 (PHP >=7.3)
trino kill query
Submitted by
anonymous
-
3 years ago
1
hashtag
ECMAScript (JavaScript)
gfhgfhghfg
Submitted by
anonymous
-
3 years ago
1
ss001
Python
Rep
Submitted by
anonymous
-
3 years ago
1
Backtracking Test
PCRE2 (PHP >=7.3)
Submitted by
farhan
-
3 years ago
1
Match Windows filename in any path but only C: D: and F: drives
Java 8
Used for Service Discovery in vRealize Operations. Use case is a service that can be installed on any path, but we only want to discover and monitor services installed on standard production drives (C, D or F). Filename will always be the same.
Submitted by
Various
-
3 years ago
0
Ssi
PCRE (PHP <7.3)
alphabetically Scripted
Submitted by
MGB
-
3 years ago
1
Valid RGB color value
ECMAScript (JavaScript)
Pattern for matching actually valid RGB values. validate separator (mixing spaces and commas between values is not valid) validate if comma is used as separator if alpha channel is set validate units (mixing percentage with integers is not valid) extract r, g, b, a, separator and unit with named gr...
Submitted by
BorisTB
-
3 years ago
(Last modified 3 years ago)
0
Feet to inches converter
PCRE2 (PHP >=7.3)
This only works in Google sheets. The test string is a sheets formula that converts feet inches in this into the total number of inches.
Submitted by
randywolf244
-
3 years ago
0
URL trailing slash check
PCRE (PHP <7.3)
This determines if URL has trailing slash
Submitted by
randywolf244
-
3 years ago
0
Capture Groups with back references
PCRE (PHP <7.3)
Extracting the variable names, e.g. (DOB_TT, OSTATE, etc) by setting up capture groups and extracting the 5th capture group
Submitted by
anonymous
-
3 years ago
0
Word Tokenizer
ECMAScript (JavaScript)
Word Tokenizer
Submitted by
anonymous
-
3 years ago
0
Grabbing inside quotes for Google Sheets
PCRE (PHP <7.3)
Sheets treats quote marks weird since that's a character used in formulas. This is the remedy for that. It does not work in the editor. This only works in Google Sheets
Submitted by
randywolf244
-
3 years ago
0
Extract root domain from URL
PCRE (PHP <7.3)
It will extract the root domain from any URL. This includes removing subdomains, www. and the slug.
Submitted by
randywolf244
-
3 years ago
0
Array shape documentation
Python
Matches array shape documentation comments.
Submitted by
anonymous
-
3 years ago
0
Match Multi groups
PCRE2 (PHP >=7.3)
Match Multi groups
Submitted by
anonymous
-
3 years ago
0
Excel ABS, SUM, AVG
Python
test
Submitted by
anonymous
-
3 years ago
0
Capture variable
Python
test
Submitted by
anonymous
-
3 years ago
1
...
190
191
192
193
194
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
\$
(
[
0
-
9
]
+
)
,
{1}
(
[
0
-
9
]
+
)
,
{1}
(
[
0
-
9
]
+
)
,
{1}
(
[
0
-
9
]
+
)
,
{1}
(
[
0
-
9
]
+
)
$
[
\r\n
]
*
)
/
Open regex in editor
Description
no description available
Submitted by
Abishek
-
8 years ago