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 3,620 community submitted regex patterns...
0
Awstats
ECMAScript (JavaScript)
Reg exp for directory/files of pdf etc
Submitted by
MikeMcCool
-
8 years ago
0
html tag name
ECMAScript (JavaScript)
no description available
Submitted by
dsikiritsky
-
8 years ago
0
ending .pub
ECMAScript (JavaScript)
For files with a .pub ending
Submitted by
Marvin
-
8 years ago
0
UK Postcode Checker
ECMAScript (JavaScript)
Checks for valid UK/British postcodes. A modified version of MaffooBristol's pattern that prevents a non-whitespace character being entered in between the two sections of the postcode. Works in PHP/JS ...
Submitted by
anonymous
-
8 years ago
0
JSON Matching
ECMAScript (JavaScript)
Match numerical value of a JSON key. Numbers only 3-9
Submitted by
anonymous
-
8 years ago
0
WhatsApp Message Regex
ECMAScript (JavaScript)
A regex to parse WhatsApp conversation files
Submitted by
anonymous
-
8 years ago
0
Phone number
ECMAScript (JavaScript)
A good enough, nonrigorous expression
Submitted by
rchfox
-
8 years ago
0
File Name (Windows)
ECMAScript (JavaScript)
Valid windows file name.
Submitted by
anonymous
-
8 years ago
0
po box extracter
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Find comments block in the source code.
ECMAScript (JavaScript)
This pattern finds comments block in the source code.
Submitted by
giraysam
-
8 years ago
0
Divide URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
A complete recognition of HTML elements pattern.
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Laurindo
-
8 years ago
0
A complete recognition of pattern for css selectors
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Laurindo
-
8 years ago
0
P1 register parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Cédula de identidad venezolana
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Full URL regex
ECMAScript (JavaScript)
regex to valid a complete URL including querystring and URI encoded characters
Submitted by
anonymous
-
8 years ago
0
netBooter Telnet status parser
ECMAScript (JavaScript)
This Regex will parse the status output of netBooter type internet connected power switches.
Submitted by
anonymous
-
8 years ago
0
practice
ECMAScript (JavaScript)
This library contains the practice regex.
Submitted by
anonymous
-
8 years ago
0
Find telephone numbers in obs
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Captura nombre y tipo de archivo
ECMAScript (JavaScript)
Busca y captura nombre de archivo y extensión especifica, no verifica si los caracteres del nombre son validos, eso se puede modificar restringiendo los nombres del primer grupo de captura.
Submitted by
anonymous
-
8 years ago
1
...
12
13
14
15
16
...
181
Hostname validation
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
-
7 years ago