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 540 community submitted regex patterns...
0
myRegEx
.NET 7.0 (C#)
myRegEx
Submitted by
Avinash
-
2 years ago
0
Sanitize percentage input into bare real number
.NET 7.0 (C#)
Turn "123,456 %" into just "123.456"! Mainly for use in C# to parse percentage as string into double. Strip away whitespace Replace comma with decimal point Only allow valid numeric input multiple commas or decimal points won't match...
Submitted by
Moravuscz
-
2 years ago
0
Semantic Version (semver)
.NET 7.0 (C#)
.NET version of the Python regex found on https://semver.org/
Submitted by
semver.org,Jeff Jacobson
-
2 years ago
0
Variable address condition
Java 8
This regex matches the variable address condition like: [1,100] >= 1 && [1,111] <= 2
Submitted by
Texx
-
2 years ago
0
Identifier Regex
Java 8
Regex for identifiers
Submitted by
anonymous
-
2 years ago
0
super regex
Golang
Get every word ending with dot using Regex/VBA
Submitted by
anonymous
-
2 years ago
0
Extract a string key's values from a json
Java 8
Sample: Finds errorType key values from a json. Values are returned in capturing group 1 of each match. Both UNKNOWN and UNAUTHENTICATED will be captured. ...
Submitted by
amansaryal
-
2 years ago
(Last modified 2 years ago)
0
partnkey value
Java 8
Extract value partn_key
Submitted by
anonymous
-
2 years ago
0
BI/CC
.NET 7.0 (C#)
Verificação do número de BI/CC
Submitted by
anonymous
-
2 years ago
0
Email address validator - ASCII standard
.NET 7.0 (C#)
Checks whether the string is a valid email address per ASCII.
Submitted by
rotors6472
-
2 years ago
0
MoltenObsidian Internal Link
.NET 7.0 (C#)
Provides parsing w/ named variables for MoltenObsidian-flavoured Markdown wikilinks. (https://github.com/Nodsoft/MoltenObsidian)
Submitted by
Sakura Akeno Isayeki
-
2 years ago
(Last modified a year ago)
0
date dd.mm.yyyy
Java 8
Date format dd.mm.yyyy
Submitted by
anonymous
-
2 years ago
0
IPv4 Address Validation Regex
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
-
2 years ago
(Last modified 2 years ago)
0
VLAN ID Validation Regex
Golang
VLAN ID Validation Regex Please use first segment or second depending on the Extended VLAN usage such as "1-256" or "1-4096" : Non-extended VLAN IDs (1-256), check v2 of the regex entry ...
Submitted by
ulgena
-
2 years ago
0
email valid
Java 8
email validation
Submitted by
Hoot
-
2 years ago
0
TatraBanka AMOUNT_VALUE
Java 8
some descriptoin
Submitted by
Inez van Acker, Robert Schulz
-
2 years ago
(Last modified a year ago)
0
Date String ISO Pattern
Golang
Date String ISO Pattern matcher
Submitted by
Lucas Morais
-
2 years ago
0
Permiso CRE SAT México
.NET 7.0 (C#)
Valida clave o permiso de la CRE
Submitted by
Omar Chávez / Documentación SAT - Comeplemento Nacional CFDIs
-
2 years ago
0
Decision Table
Java 8
Rules engine CSV Decision Table expression
Submitted by
Vincent Wautelet
-
2 years ago
(Last modified 2 years ago)
0
French Insurance Number
.NET 7.0 (C#)
French Insurance Number
Submitted by
Dohts
-
2 years ago
1
...
14
15
16
17
18
...
27
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)