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 3,560 community submitted regex patterns...
0
author from tag
ECMAScript (JavaScript)
no description available
Submitted by
imilov
-
9 years ago
0
handlebars template match
ECMAScript (JavaScript)
returns all the handlebars elements in a line - returns {{...}} for each instance found Matches the following test {{sss}} s {{rrr}} dkdksl {{dds}} {{ dhre }} {{je ss}} returns ['{{sss}}','{{rr}}','{{dds}}','{{ dhre }}','{{je ss}}']
Submitted by
anonymous
-
9 years ago
0
Telefonnummer E.123
ECMAScript (JavaScript)
no description available
Submitted by
Frank Mattes
-
8 years ago
0
Cartão de Crédito ELO
ECMAScript (JavaScript)
Realiza a identificação dos novos BIN's de cartão de crédito ELO.
Submitted by
mkrypka
-
8 years ago
0
Numbers Only
ECMAScript (JavaScript)
valid only for alpha numeric values ,Its invertion of number check operation return false if number return true if alpha numeric
Submitted by
deadpool
-
8 years ago
0
CHA course detection
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Esempio di cattura data
ECMAScript (JavaScript)
descrizione addizionale
Submitted by
Cristian
-
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
0
Busca y captura tipo de persona jurídica en razón social
ECMAScript (JavaScript)
Busca y captura tipo de persona jurídica en razón social
Submitted by
anonymous
-
8 years ago
1
2
3
...
178
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(?>
(?'protocol'
[
a
-
zA
-
Z
]
+
)
://
)?
(?'domain'
[
a
-
zA
-
Z0
-
9.
\-
_
]
*
)?
(?>
:
(?'port'
\d
{1,5}
)
)?
/
(?'path'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
(?:
(?>
\?
(?'query'
[
a
-
zA
-
Z0
-
9_
\-
=&%
]
+
)
)
(
)
|
(?>
#
(?'anchor'
[
a
-
zA
-
Z0
-
9_
\-
%
]
+
)
)
(
)
){0,2}
$
"
gm
Open regex in editor
Description
Matches protocol, domain, port, path, query and anchor as named capturing groups.
Submitted by
Jonathan
-
a year ago
(Last modified a year ago)