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,020 community submitted regex patterns...
0
Detection of parties
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Validate UrlParams
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
At least one character and one digit, ignoring the order in which they appear.
PCRE (PHP <7.3)
At least one character and one digit, ignoring the order in which they appear.
Submitted by
Loïc [TwystO] Liné
-
7 years ago
0
Extracting a price from a string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Catastrophic backtracking example
PCRE (PHP <7.3)
Catastrophic backtracking example; with extra info links. Based on example from: https://www.regular-expressions.info/catastrophic.html
Submitted by
ELM
-
7 years ago
0
maquina tragamonedas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Fechas Validas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
correo electronico
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
US Zip Codes
PCRE (PHP <7.3)
5 or 9 Digit US Zip codes with optional hyphen or space separator.
Submitted by
anonymous
-
7 years ago
0
SFC Log File to Windows Directory Names
PCRE (PHP <7.3)
Decodes the Windows Winsxs folder names of files that could not be repaired from the CBS.log after unsuccessful scan with SFC. It does not include the random number assigned by the system, of course. Just replace If processor architecture is INTEL change to x86 or x64 depending on your system. A...
Submitted by
anonymous
-
7 years ago
0
semver-prerelease+buildcounter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Postleitzahl (Weltweit)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Validate format data (mm/dd)
ECMAScript (JavaScript)
no description available
Submitted by
Gamilo
-
7 years ago
0
regex for assist.org data
PCRE (PHP <7.3)
-\n(+)(\(\d\))| Collect all match groups then write additional regex to key value them. The match groups that have OR must be processed further: MATH 45 DIFFERNTL EQUATN SCI+ENGR (3)|MATH 295 Differential Equations (3)...
Submitted by
anonymous
-
7 years ago
0
GS1Numeric Serialized GTIN with Lot and Expiry
Python
GS1Numeric Serialized GTIN with Lot and Expiry Will recognize and pull into groups the following: GTIN-14 Serial Number...
Submitted by
SerialLab, Corp
-
7 years ago
0
time
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
First Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Replace for HTML urls
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
regex for youtube data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
select any line without a 1- or 2- digit integer followed by a period
PCRE (PHP <7.3)
This is useful for selecting 2nd and 3rd levels in an ordered list copied from a website (for removal, in my case).
Submitted by
Peter Arthur
-
7 years ago
1
...
156
157
158
159
160
...
901
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
4
[
0
-
9
]
{12}
(?:
[
0
-
9
]
{3}
)?
|
5
[
1
-
5
]
[
0
-
9
]
{14}
|
3
[
47
]
[
0
-
9
]
{13}
|
3
(?:
0
[
0
-
5
]
|
[
68
]
[
0
-
9
]
)
[
0
-
9
]
{11}
|
6
(?:
011
|
5
[
0
-
9
]
{2}
)
[
0
-
9
]
{12}
|
(?:
2131
|
1800
|
35
\d
{3}
)
\d
{11}
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
PRPLrs
-
9 years ago