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 13,900 community submitted regex patterns...
0
matrix.to URL regex
Python
Regex to detect and extract detail from matrix.to
Submitted by
anonymous
-
10 months ago
0
Matching french integer numbers
PCRE2 (PHP >=7.3)
Matching french integer numbers : group digits by 3 with a space between groups
Submitted by
scalpa
-
4 months ago
0
PLP redirection
PCRE2 (PHP >=7.3)
PLP redirection
Submitted by
anonymous
-
3 months ago
-2
Finds HTML img tags
PCRE (PHP <7.3)
no description available
Submitted by
Matt Solum
-
11 years ago
-2
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
1_aa3
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Find multiple XML documents in file
PCRE (PHP <7.3)
as title says
Submitted by
Doro
-
10 years ago
-2
indonesian p0rn word filter
PCRE (PHP <7.3)
find and replace bad and p0rn indonesian words
Submitted by
teknokoplak
-
10 years ago
-2
link
Python
no description available
Submitted by
NTP-[SADAS]
-
10 years ago
-2
five word capture
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
match only words consisting of 3 repeated letters, e.g. lllkkk
Python
no description available
Submitted by
kali
-
9 years ago
-2
python bracketed text
Python
why doesn't this match text in brackets?
Submitted by
anonymous
-
9 years ago
-2
Host and domains
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Validate credit card numbers
PCRE (PHP <7.3)
Visa, MasterCard, American Express, Diners Club, Discover, JCB
Submitted by
www.regular-expressions.info/creditcard.html
-
9 years ago
-2
IPv4
Python
allows for all legal IPv4 addresses
Submitted by
anonymous
-
9 years ago
-2
finds the instance of two or more repeating letters
Python
no description available
Submitted by
cp0153
-
9 years ago
-2
Match the first and last char of a word
PCRE (PHP <7.3)
no description available
Submitted by
pedroppinheiro
-
9 years ago
-2
lowercase words followed by uppercase words. Be able to separate words
PCRE (PHP <7.3)
Tinta del paísSuelo: Arena 100%Altitud media: 900mEdad del viñedo: PrefiloxeraRendimiento: 1800 Kg/haLugar: Ribera del Duero, FuentelcéspedBodega:Bodegas y Viñedos Juan Manuel Burgos
Submitted by
Eduard eduard.fabra@uvinum.com
-
9 years ago
-2
6 Digit ID
PCRE (PHP <7.3)
Very basic. My first proper REGEX. 6 Digit ID starting with e. Must be lowercase. must start with an e (can change to another letter)
Submitted by
BejasC#
-
9 years ago
-2
12 Hour Time Pattern
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
456
457
458
459
460
...
695
Latex Chemical formula
0
Regular Expression
Python
r"
(?:
[
\(\)
eA
-
Z
]
[
a
-
z
]
*
(?:
_
\{
?
?
\d
*
\}
?
(?:
(?:
_
\d
)?
)*
)?
)+
(?:
\^\{
?
?
\d
*
[
\+
-
]
?
\}
?
)?
"
g
Open regex in editor
Description
Matches chemical formula written with
latex
, ex:
H_2O
,
C_5H_12
,
Pb(NO_3)_2
Submitted by
Jingjie Yang
-
7 years ago