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...
-2
IsEmailValid()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
I need some one to generate an regexp please
ECMAScript (JavaScript)
I need regular expression for the string WC_AUTHENTICATION_1343459084. Here WC_AUTHENTICATION_ remains fixed and the number keeps changing. I have written the below logic. var re = new RegExp('[; ]'+"WC_PERSISTENT"+'[0-9]'); Please help
Submitted by
Sanuvimal.Mohan@target.com
-
10 years ago
-2
,,,
PCRE (PHP <7.3)
,,,
Submitted by
,,,
-
10 years ago
-2
Comma-separated numbers with ranges
ECMAScript (JavaScript)
no description available
Submitted by
Eugene
-
10 years ago
-2
Deleting everything except words starting with “#â€
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
-2
A few Australian address parser
PCRE (PHP <7.3)
A few Australian address parser
Submitted by
Dennis Deljouei
-
10 years ago
-2
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
five word capture
Python
no description available
Submitted by
anonymous
-
10 years ago
-2
S3 log analysis
ECMAScript (JavaScript)
An updated S3 log analyzer. I found that my logs sometimes had strings quoted, so I needed to add possible handling for that.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
10 years ago
-2
html check in spacial case
PCRE (PHP <7.3)
it check the html content with like html tag but not html. somthing this not html content but it has content like html tag.
Submitted by
A. K. Asik
-
10 years ago
-2
regex101
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
match only words consisting of 3 repeated letters, e.g. lllkkk
Python
no description available
Submitted by
kali
-
10 years ago
-2
regex demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Test post by e-mail
PCRE (PHP <7.3)
Description here
Submitted by
Arief
-
10 years ago
-2
python bracketed text
Python
why doesn't this match text in brackets?
Submitted by
anonymous
-
10 years ago
-2
Name
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
10 years ago
-2
Extract email client inserted "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients add this line, call it "sender wrote" to reply emails.
Submitted by
Vlad Burca
-
10 years ago
-2
strip text enclosed in parentheses that does not match any keyword(s)
PCRE (PHP <7.3)
strip or remove parentheses enclosed text - including the parentheses itself - only if the enclosed text does not contain any of the FULL keyword(s). Leave all parentheses enclosed text if it contains any keyword(s) listed in the regex string. Uses negative lookahead and \b for determining word boun...
Submitted by
marie bacuno
-
10 years ago
-2
4 digit numeric w/o leading zero and no repeat digits
PCRE (PHP <7.3)
A pcre that capture a 4-digit numeric that does not allow a leading zero and no repeat digits.
Submitted by
Jeff Thompson
-
10 years ago
-2
SPLIT ADDRESS LINE INTO STREET NAME AND HOUSE NUMBER
PCRE (PHP <7.3)
This regular expression splits an address line like for example "1117 Franklin Blvd" into the street name and house number. It also supports addresses where street name and house number are the other way around (e.g. "Mustermannstr. 1"). Furthermore, this regular expression also supports address lin...
Submitted by
Andre Wisplinghoff
-
10 years ago
1
...
3
4
5
6
7
...
900
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
data:
(
(?<contenttype>
[
a
-
z
\-
]
+
\/
[
a
-
z
\-
.
]
+
){1}
(
;
[
a
-
z
\-
]
+
\=
[
a
-
zA
-
Z0
-
9
\-
]
+
)?
){1}
(
;filename=
(?<passedFileName>
[
a
-
zA
-
Z0
-
9
\-\.
_
]
*
)
)
(
;base64,
){1}
(?<content>
[
a
-
zA
-
Z0
-
9
\!\$\&\'\,\(\)\*\+\,\;\=\-\.\~\:\@\/\?\%
\s
]
*
)
_
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago