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...
1
Season and episode extractor
Python
extract form the name of a tvseries file the season ande episode
Submitted by
0b1w4n
-
9 years ago
1
\A(?:[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-
ECMAScript (JavaScript)
fasfasfsafas
Submitted by
anonymous
-
9 years ago
1
dfrgeagtcer
PCRE (PHP <7.3)
regcergtecrhcethgeargerer
Submitted by
regerhsrthrstchrtxhdrsxthjsrthrthrth
-
9 years ago
1
Polynomials regex
PCRE (PHP <7.3)
Decompose polynomials of type +/- NUMBERx ^ NUMBER
Submitted by
anonymous
-
9 years ago
1
Positive lookahead
PCRE (PHP <7.3)
finds the first bar (Find "bar" which has "bar" after it)
Submitted by
anonymous
-
9 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
-
9 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
-
9 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
-
9 years ago
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
-
9 years ago
1
hastags shortcuts
PCRE (PHP <7.3)
This regexp is used in the SPIP cms for create tags fastly when you are writting a post.
Submitted by
pierre.laszczak@gmail.com
-
9 years ago
1
ConnectionStringServerDatabase
Python
Extract the server and database name from SQL Server connection string
Submitted by
Davos
-
9 years ago
1
Lines file First and Last Node
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Java
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
pohe no nubmer valdiation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
CR with no LF or PG at the end
PCRE (PHP <7.3)
Match lines with CR (Carriege Return) with no LF (Line Feed - New Line) or PG (Page Break) next to it.
Submitted by
Hans Mauricio Burbano E
-
9 years ago
1
Find label
Python
Find label in MIPS assembly
Submitted by
Dlavoieb
-
9 years ago
1
Non Capturing Group
PCRE (PHP <7.3)
It won't capture in the group.we can't back refrence A(?:nt|pple)\sA\1
Submitted by
anonymous
-
9 years ago
1
Property control Number PCN
ECMAScript (JavaScript)
is just the format for the property control number on the Palm Beach County Florida
Submitted by
Jose Manuel Borroto
-
9 years ago
1
Empty ini section title
PCRE (PHP <7.3)
kust like [*]
Submitted by
CWFF
-
9 years ago
1
DD Addresses
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
151
152
153
154
155
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9,(,),+,_,#,~,-
]
{1,45}
$
/
Open regex in editor
Description
Phone Number with no letters or spaces
Submitted by
JP Hunter
-
9 years ago