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,040 community submitted regex patterns...
2
CSS Colors: RGB(A), HSL(A), HEX(3,4,6,8), var(--tw-color), etc...
ECMAScript (JavaScript)
Versatile, multiline matching of CSS colors of many common formats, including: [x] HEX-3: #123 (equivalent to #112233) [x] HEX-4: #FA0F ( ... #FFAA00FF) [x] HEX-6: #FF3300 ( ...#F30) [x] HEX-8: #FFAA00FF ( ...#FA0F)...
Submitted by
Nicholas Berlette (@nberlette)
-
3 years ago
0
8 Characters
PCRE2 (PHP >=7.3)
Must Contain 8 Characters
Submitted by
anonymous
-
3 years ago
0
Interview Test Valid Odds
Java 8
Interview Test Valid Odds
Submitted by
anonymous
-
3 years ago
0
MyRegexs, Typescript replacers
ECMAScript (JavaScript)
Regex used to text replacment
Submitted by
Nathan
-
3 years ago
0
Match float in string
PCRE2 (PHP >=7.3)
165.1 x 75.6 x 8.9 mm (6.5 x 2.98 x 0.35 in)
Submitted by
anonymous
-
3 years ago
1
Extract everything between TD brackets
PCRE (PHP <7.3)
This is used to extract everything between TD brackets.
Submitted by
<a href="https://www.dug.to">Regex101</a>
-
3 years ago
0
小数,两位小数
PCRE (PHP <7.3)
^(0-9*)+(\.[0-9]{1,2})?$
Submitted by
zhanyue
-
3 years ago
0
TrakYu
PCRE2 (PHP >=7.3)
Regex para los protocolos de los dispositivos TracYu
Submitted by
Daniel Meza
-
3 years ago
(Last modified 3 years ago)
0
ппк
PCRE2 (PHP >=7.3)
ППК
Submitted by
anonymous
-
3 years ago
0
Library of Congress Call Numbers
PCRE2 (PHP >=7.3)
Matches Library of Congress Call Number
Submitted by
Andy F
-
3 years ago
0
Ejemplo de busqueda de cadena de caracteres en .txt
Java 8
Se busca una cadena de caracteres precedida por algo y con una terminación especifica
Submitted by
Alexis Leza
-
3 years ago
0
Selecciona todos los campos separados por |
Java 8
Selecciona todos los campos de un .txt separados por |
Submitted by
Alexis Leza
-
3 years ago
0
Selecciona subgrupos de un .txt separados por tabulación
Java 8
Dado un archivo .txt, con su contenido separado por tab selecciona cada campo
Submitted by
Alexis Leza
-
3 years ago
0
Selecciona y parsea
Java 8
Dado un archivo de texto selecciona subgrupos
Submitted by
Alexis
-
3 years ago
0
allow alnum dash and dot
PCRE2 (PHP >=7.3)
alphanumeric, dash, dot
Submitted by
anonymous
-
3 years ago
0
DS validation - overspecced
PCRE2 (PHP >=7.3)
This was, I think built to detect a comma separated decimal. But ended up with a capture group on the decimal part. Don't ask me why.
Submitted by
Russ Ferriday - after DS
-
3 years ago
0
Array matcher from string
PCRE (PHP <7.3)
Array matcher from string
Submitted by
anonymous
-
3 years ago
0
IVR TPlayNextItem::InitMixFormat test
PCRE2 (PHP >=7.3)
UnitTest for Mix play format
Submitted by
anonymous
-
3 years ago
0
molecule elements parser
PCRE (PHP <7.3)
allows to get the sub elements of a molecule symbol and their number.
Submitted by
Quettle
-
3 years ago
0
Simple regex to parse OVAL expressions
Java 8
This regexp helps you to parse text-based OVAL expressions. See the test samples
Submitted by
Alexander Dubok
-
3 years ago
1
...
180
181
182
183
184
...
902
Community Library Entry
3
Regular Expression
Golang
`
(?i)
^
(?:
(
[
a
-
z0
-
9-
]
+
|
\*
)
\.
)?
(
[
a
-
z0
-
9-
]
{1,61}
)
\.
(
[
a
-
z0
-
9
]
{2,7}
)
$
`
gm
Open regex in editor
Description
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago