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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,700 community submitted regex patterns...
1
Atomic group
PCRE (PHP <7.3)
Atomic Groups are non-capturing and once a match is made will exit the atomic group and throw away all backtracks. Use Atomic Groups for optimising performance. A non-atomic expression \b(foobar|foot|foo)\b and a test string of foots will: match foo of foobar => fail and backtrack to the 2nd alter...
Submitted by
anonymous
-
8 years ago
1
Positive Look ahead and Look Behind
PCRE (PHP <7.3)
Look ahead Positive(?=) Find expression A where expression B follows A(?=B) ...
Submitted by
Rajesh
-
8 years ago
1
POSITIVE LOOK AHEAD AND POSITIVE LOOK BEHIND
PCRE (PHP <7.3)
Look ahead Positive(?=) Find expression A where expression B follows A(?=B) ...
Submitted by
anonymous
-
8 years ago
1
positive lookahead and positive lookbehind
PCRE (PHP <7.3)
Look ahead Positive(?=) Find expression A where expression B follows A(?=B) ...
Submitted by
anonymous
-
8 years ago
1
Positive lookahead
PCRE (PHP <7.3)
finds the first bar (Find "bar" which has "bar" after it)
Submitted by
anonymous
-
8 years ago
1
Polynomials regex
PCRE (PHP <7.3)
Decompose polynomials of type +/- NUMBERx ^ NUMBER
Submitted by
anonymous
-
8 years ago
1
dfrgeagtcer
PCRE (PHP <7.3)
regcergtecrhcethgeargerer
Submitted by
regerhsrthrstchrtxhdrsxthjsrthrthrth
-
8 years ago
1
Season and episode extractor
Python
extract form the name of a tvseries file the season ande episode
Submitted by
0b1w4n
-
8 years ago
1
Match fluid-width-video-wrapper YouTube video
PCRE (PHP <7.3)
no description available
Submitted by
Erica Franz
-
8 years ago
1
Regex for Youtube
PCRE (PHP <7.3)
Regex to catch youtube traffic in a Mikrotik router
Submitted by
HMBE
-
8 years ago
1
cuke-orderFills
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
C2I_BIO_2A_D1.2.02_21405520.txt
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Date with format YYYY-MM-DD
PCRE (PHP <7.3)
no description available
Submitted by
Kazadri
-
8 years ago
1
Aggregates
Python
no description available
Submitted by
anonymous
-
8 years ago
1
2 or more space between text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
php `define` match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
csv split, accounting for 'sub-csv' groups inside brackets
PCRE (PHP <7.3)
This came up as a need for splitting a url param into an array ofr stings, where such a string may be a sublist contained within a bracket pair
Submitted by
Martin Renvoize
-
8 years ago
0
PASSWORD VALIDATION (FX8DY0/1)
PCRE (PHP <7.3)
Checks that a password has a minimum of 6 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number with no spaces.
Submitted by
Dat.Dao
-
8 years ago
2
Password Regex
PCRE (PHP <7.3)
Atleast one charector Atleast one number Min 6 and Max 20 Special charectors optional
Submitted by
Bijjala
-
8 years ago
1
...
448
449
450
451
452
...
585
Xml/html regex
1
Regular Expression
PCRE (PHP <7.3)
/
(
<
\/
?
\w
+
[^
>
]
*
>
)
/
Open regex in editor
Description
Common regex for use with xml/html files
Submitted by
wonzbak
-
8 years ago