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
REACT SDK V3
Golang
React SDK V3
Submitted by
anonymous
-
2 years ago
0
Password
Java 8
Password
Submitted by
Mohammed Elshaboury
-
2 years ago
0
GO SDK V2
Golang
Go SDK v2
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Kt SDK V2
Golang
kt SDKV2
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
elasticsearch exception explain regex
Java 8
throw elasticsearch exception logger info, find exception type and reason field
Submitted by
jason
-
2 years ago
0
CPF Number Repetition
Java 8
It matches CPF (Cadastro de Pessoa Física) with all digits as the same number. Since CPF consists in a pattern ###.###.###-##, or ###########, and # being a single digit, this document cannot have all the 11 (eleven) digits as the same number. Therefore 000.000.000.000-00 would not be an example o...
Submitted by
TheRockSaysOP
-
2 years ago
(Last modified 2 years ago)
0
Get ip address (only ipv6) Validator
.NET 7.0 (C#)
Get ip address (only ipv6) Validator
Submitted by
Mr.Tang
-
2 years ago
(Last modified 2 years ago)
0
Get ip address (only ipv4) Validator
.NET 7.0 (C#)
Get ip address (only ipv4) Validator
Submitted by
Mr.Tang
-
2 years ago
(Last modified 2 years ago)
0
match name and surname in a name.surname@domain.com email.
Java 8
This will match any words that show up before the @ sign in an email. Digits, dots, commasz and other special characters are ignored.
Submitted by
WojciechW
-
2 years ago
0
简单日志匹配
Java 8
普通日志匹配, 匹配出字段: [time, level, logClass, content]
Submitted by
qinxike
-
2 years ago
0
Valid date (DD-MM-YYYY) from 1900 to 2099
Java 8
Valid date (DD-MM-YYYY) from 1900 to 2099
Submitted by
Nevix-Sama
-
2 years ago
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
0
Database datatype check
Java 8
Database data type determination and extraction. Example: varchar(20) varchar2(20) number(20,3) timestamp...
Submitted by
anonymous
-
2 years ago
0
Titulo da expressao
Java 8
\w
Submitted by
anonymous
-
2 years ago
0
Semver split
Golang
"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by
Icaruk
-
2 years ago
0
domain
Golang
ss
Submitted by
sssssss
-
2 years ago
0
ip address
Java 8
ip address regex
Submitted by
shyam
-
2 years ago
0
tas-branch-validation
Java 8
tas-branch-validation
Submitted by
doron-hafner
-
2 years ago
0
Kyivstar phone number
Java 8
Kyivstar phone number
Submitted by
milka_vlad
-
2 years ago
0
Take segments to string
Java 8
Take segments to string
Submitted by
Lufram
-
2 years ago
1
...
23
24
25
26
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)