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
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 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 5,980 community submitted regex patterns...
1
replace between brackets 3
PCRE2 (PHP >=7.3)
replace multiple matches of words in brackets with no brackets
Submitted by
anonymous
-
3 years ago
1
ParsingAmazonInvoice
PCRE2 (PHP >=7.3)
Goes through a Plain text derived from a PDF capturing the order number, the items, the order and ship dated and the costs.
Submitted by
anonymous
-
3 years ago
0
Variable Variance Formula
PCRE2 (PHP >=7.3)
Variable Variance Formula This is parsing an Alteryx variance formula to show the versatility of re-writing expressions on the fly in your programs for dynamic repeatability, i.e. field names don't matter, and you never have to re-write the same variance formula again!
Submitted by
Chris Kusek
-
3 years ago
0
Test
ECMAScript (JavaScript)
Haiz
Submitted by
anonymous
-
3 years ago
(Last modified 10 months ago)
1
Identify lines on an invoice
ECMAScript (JavaScript)
it identifies lines in an invoice
Submitted by
Vladox
-
3 years ago
1
Validacion de palabras con acento
ECMAScript (JavaScript)
Valida letras y palabras con acento
Submitted by
anonymous
-
3 years ago
1
python 3 executable regex
PCRE2 (PHP >=7.3)
give then names of various executables filter out ones that run python3+
Submitted by
anonymous
-
3 years ago
0
Getting Parts of URL
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/27745/getting-parts-of-a-url-regex
Submitted by
anonymous
-
3 years ago
0
Match URL or URI strings
ECMAScript (JavaScript)
Reference: https://stackoverflow.com/a/34669019/369727
Submitted by
https://danlevy.net/
-
3 years ago
1
Signed numbers with optional decimal part (comma or dot)
PCRE2 (PHP >=7.3)
Signed numbers with optional decimal part (comma or dot)
Submitted by
ImAlbi57
-
3 years ago
0
Trailing dot removal after number sequence
ECMAScript (JavaScript)
The capture group returns only a number with a dot if it has decimal digits, otherwise it is treated as an integer. 1.1 => 1.1 1\. => 1
Submitted by
Stefa168
-
3 years ago
0
日志解析
PCRE2 (PHP >=7.3)
日志解析
Submitted by
vito
-
3 years ago
0
email address
ECMAScript (JavaScript)
email address regex
Submitted by
anonymous
-
3 years ago
0
Lookbehind
ECMAScript (JavaScript)
Example of how to pull a particular piece of the URL
Submitted by
DATA_GATA
-
3 years ago
0
"zoom" follow bots
PCRE2 (PHP >=7.3)
this is for finding all of the "zoom" follow bots on twitch
Submitted by
Math
-
3 years ago
0
Validate XML
PCRE2 (PHP >=7.3)
Validate XML
Submitted by
anonymous
-
3 years ago
0
v1.colName, v2.colName ==> or decode( v1.colName, v2.colName, 1, 0) = 0
PCRE2 (PHP >=7.3)
For Oracle DB, as it doesn't consider null != informed DATE, and considers null != null. For the WHERE clause. = 0 to get differences = 1 to get "sameness"...
Submitted by
R. Moreno
-
3 years ago
0
PHPDocumentor - Add missing @since tags in doc blocks
PCRE2 (PHP >=7.3)
This regular expression helps keeping the PHP documentation up to date by adding the @since tags in the doc block where there are none.
Submitted by
raaaahman
-
3 years ago
0
Alpha Numeric with International characters
PCRE2 (PHP >=7.3)
Alpha Numeric with International characters with space This matches any letter, number, or space in most languages. [...] -> Match with conditions [a|b] -> Match 'a' OR 'b'...
Submitted by
Dinesh Swami
-
3 years ago
0
surrounded by regex
PCRE2 (PHP >=7.3)
surround a string by $$ chards
Submitted by
anonymous
-
3 years ago
1
...
151
152
153
154
155
...
299
Phone number
0
Regular Expression
ECMAScript (JavaScript)
/
\+
?
(
\d
{1,2}
|
1
\-
\d
{1,3}
|
0
)+
(
3
[
2
-
9
]
|
5
[
6|8|9
]
|
9
[]
|
8
[
1
-
9
]
|
7
[
0|6
-
9
]
)+
(
[
0
-
9
]
{7}
)
/
gm
Open regex in editor
Description
Regex phone number
Submitted by
Duy
-
3 years ago