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
Community Patterns
Search among 2,780 community submitted regex patterns...
0
Email Subject Search
PCRE2 (PHP >=7.3)
Use this in the Box Trapper to find specific words in the Subject line
Submitted by
anonymous
-
2 years ago
0
cdn匹配图片
PCRE2 (PHP >=7.3)
保留
Submitted by
anonymous
-
2 years ago
0
Indian number plate lenient validator (for transformation) (vehicle registration number)
PCRE2 (PHP >=7.3)
lenient validator (for transformation) /\b([A-Z]{2})?([0-9]{1,2})?([A-Z]{0,3})*?([0-9]{4})\b/i Matches 4 groups like: 1) RJ 2) 02 3) FG...
Submitted by
Birla
-
2 years ago
(Last modified 2 years ago)
0
Indian mobile number regex (substring)
PCRE2 (PHP >=7.3)
Match indian mobile number inside a string. Valid inputs 9207323601 8343434349 6790312345...
Submitted by
birla
-
2 years ago
0
Regex Dates on Data X
PCRE2 (PHP >=7.3)
Regex Dates on Data X 1700-01-01 to 4000-12-31
Submitted by
Miguel Ramos
-
2 years ago
0
IP Address Validator
Java 8
Validates IPv4 Address for Java
Submitted by
krzysp, jpalvesloiola
-
2 years ago
0
스마트스토어 필터링
PCRE2 (PHP >=7.3)
ㅌㅌ
Submitted by
anonymous
-
2 years ago
0
Unique graphql pagination update
PCRE2 (PHP >=7.3)
Unique graphql pagination update
Submitted by
Amos
-
2 years ago
0
TESTO denro tag
PCRE2 (PHP >=7.3)
r
Submitted by
anonymous
-
2 years ago
0
Phone (rus)
PCRE2 (PHP >=7.3)
Russian phone number
Submitted by
anonymous
-
2 years ago
0
Node node_modules library exceptions
PCRE2 (PHP >=7.3)
Tests for excluding certain node_modules when
Submitted by
anonymous
-
2 years ago
0
Host Regex
PCRE2 (PHP >=7.3)
Get any hostname
Submitted by
anonymous
-
2 years ago
0
Postgresql JDBC URI
Java 8
Formats jdbc:postgresql:database jdbc:postgresql:/ jdbc:postgresql://host/database jdbc:postgresql://user:password@host/database...
Submitted by
fantabulum
-
2 years ago
0
match lines that DO NOT include "IPEL"
PCRE2 (PHP >=7.3)
As it's said in the title, use this to trim my proxy servers
Submitted by
anonymous
-
2 years ago
0
取字母中间的数字
Java 8
获取前后各有一个数字,中间的数字
Submitted by
lemon 1900
-
2 years ago
0
Rules
PCRE2 (PHP >=7.3)
Rules
Submitted by
anonymous
-
2 years ago
0
estoque_bling_regex
PCRE2 (PHP >=7.3)
Regex xml stock Bling
Submitted by
Dimitri
-
2 years ago
0
stage build checker
PCRE2 (PHP >=7.3)
stage build checker
Submitted by
anonymous
-
2 years ago
0
Equifax street types parser
PCRE2 (PHP >=7.3)
Street types
Submitted by
anonymous
-
2 years ago
0
Date dd.mm.yyyy
PCRE2 (PHP >=7.3)
Regex for datestring validation
Submitted by
anonymous
-
2 years ago
1
...
97
98
99
100
101
...
139
Extract URL parts only named capturing groups
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
2 years ago