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,040 community submitted regex patterns...
0
IP addresses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Clearswift Mail Gateway
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
GET THE USERNAME OF THE EMAIL
PCRE (PHP <7.3)
Recovers the part before @ For example: teste@testregex.com The regex will catch teste
Submitted by
anonymous
-
6 years ago
1
REMOVE LAST DIGITS
PCRE (PHP <7.3)
Removes the last 4 digits from a expression
Submitted by
anonymous
-
6 years ago
1
VALIDATE CELLPHONE - BRAZIL
PCRE (PHP <7.3)
MASK TO VALIDATION, WHEN YOU NEED THE AREA CODE OPEN. TO A CELLPHONE WITH 9 OR 8 DIGITS + AREA CODE OF 2 DIGITS 11 987654321 -> IT WILL GET 98765
Submitted by
anonymous
-
6 years ago
0
NANPA TN Including X11 without 555
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
Youtube Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Excel to DB
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Validaing numbers other than 0
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex to validate dates (validate leap year)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Regex para validar data (trata ano bissexto)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
VENCIMENTO DD/MM/YYYY A|a|e|TO|HASTA DD/MM/YYYY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
PRODUCAO MM/YYYY A|a|e|TO|HASTA MM/YYYY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
PRODUCAO DD/MM/YYYY A|a|e|TO|HASTA DD/MM/YYYY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
This is called a negated lookbehind.
PCRE (PHP <7.3)
Matches x only if x is not preceded by y.This is called a negated lookbehind. For example, /(?<!-)\d+/ matches a number only if it is not preceded by a minus sign. /(?<!-)\d+/.exec('3') matches "3". /(?<!-)\d+/.exec('-3') match is not found because the number is preceded by the minus sign.
Submitted by
anonymous
-
6 years ago
0
Text to Columns
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
FIO
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
111
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
FIO
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Telephone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
451
452
453
454
455
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?<phase>
[
0
-
9
]
+
(
[
,|.
]
?
[
0
-
9
]
+
)?
)
[
\t
]
(?<voltage>
[
0
-
9
]
+
(
[
,|.
]
?
[
0
-
9
]
+
)?
)
[
\t
]
(?<fault>
[
0
-
9
]
+
(
[
,|.
]
?
[
0
-
9
]
+
)?
)
[
\t
]
(?<PD>
[
0
-
9
]
+
(
[
,|.
]
?
[
0
-
9
]
+
)?
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago