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
First Name (+ Middle Name) and Last Name Shredder
Java 8
Allows you to shredder first name (+ middle name) and last name.
Submitted by
Yusuf Yaşar
-
3 years ago
0
Zarf docker domain matcher
Golang
Used by Zarf to swap the registry domain/port part an image url without needed the docker libraries. usage in go: func SwapHost(src string, targetHost string) string { var parser = regexp.MustCompile((?im)^([a-z0-9\-.]+\.[a-z0-9\-]+:?[0-9]*)?/?(.+)$) var substitution = targetHost + "/$2" return...
Submitted by
Jeff McCoy
-
3 years ago
0
Extract (4.) Switch port state test values by columns
Java 8
adminl2j@child-ex2300-24t> show interfaces ge-0/0/0 terse Interface Admin Link Proto Local Remote ge-0/0/0 up up ge-0/0/0.0 up up eth-switch
Submitted by
Dobri
-
3 years ago
0
parse dpserver url
Golang
parse dpserver url
Submitted by
qianshen
-
3 years ago
0
Multi Line Copy Right Header
Java 8
Matches a copyright header in a Java-esque multi line comment
Submitted by
PhiSe
-
3 years ago
0
releaes-jdk
Java 8
parse jdk version source
Submitted by
youliang.feng
-
3 years ago
0
豆瓣图书信息匹配/Regex for douban books
Golang
提取书籍信息 get book information link like:https://book.douban.com/subject/35049755/
Submitted by
anonymous
-
3 years ago
0
Regex para extraer nombres de subreddits
Java 8
Ver
Submitted by
@atnbueno
-
3 years ago
(Last modified 3 years ago)
0
晋江文学城作品界面详细信息/jjwxc.net
Golang
for http://my.jjwxc.net/novelreview.php?novelid= +novel id
Submitted by
anonymous
-
3 years ago
0
Lua Comment RegEx
Java 8
matches lua comments
Submitted by
Fiereu
-
3 years ago
0
acepta solo consonantes pero solo va en java
Java 8
select consonants but only do work in java ...
Submitted by
anonymous
-
3 years ago
0
fdsf
Java 8
sdf
Submitted by
anonymous
-
3 years ago
0
id card
Java 8
打断点
Submitted by
anonymous
-
3 years ago
0
Function parameter selection
Java 8
Allows to select multiple type of parameters for them to be handled differently. The regex can get strings ( "example string" ), variable name of boolean value ( name or true or false ) or integers and doubles ( 5 or 4.5 ). The variables names and boolean values have to be checked in the program u...
Submitted by
anonymous
-
3 years ago
0
Mpe
Java 8
coda test
Submitted by
anonymous
-
3 years ago
0
Unreal Engine (UE_LOG) Parser - GoLang version
Golang
This regex is suitable for anyone ingesting UE_LOG files into Loki and creating dashboards in Grafana.
Submitted by
Mike McShaffry
-
3 years ago
0
Match CLI argument to
Java 8
Matches argumetn to as: -t to -t= ...
Submitted by
rperez-torro
-
3 years ago
0
java-test1
Java 8
java test string
Submitted by
anonymous
-
3 years ago
0
Hitech RTOZONE
Java 8
Checks the registration number's validity
Submitted by
Sid
-
3 years ago
0
chia plot
Golang
chia plot
Submitted by
temple
-
3 years ago
1
...
14
15
16
17
18
...
27
Community Library Entry
0
Regular Expression
.NET 7.0 (C#)
@"
^
(?=
(?<http>
(?:
https
?
:
\/\/
){1}
(?:
www
\.
)?
)?
)
(?
(?=
\k<http>
?
(?<ipaddr>
(?:
\d
{1,3}
\.
){3}
\d
{1,3}
(?:
\:
\d
{1,5}
)?
)
)
\k<http>
?
\k<ipaddr>
(?:
\.
[
\w
]
{1,9}
)?
|
\k<http>
(?:
[
\w
]
\.
?
){1,255}
\.
[
\w
]
{1,9}
)
(?:
\/
.
*
)?
$
"
gm
Open regex in editor
Description
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago