Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 200 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find email addresses
Golang
find email addresses
Submitted by
anon
-
a year ago
2022-04-15 18:57
(Last modified a year ago)
2022-04-15 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Wordle Result
Golang
A Regular Expression for the result of a Wordle, that can be shared after completing the Wordle of the Day.
Submitted by
Varun R Gupta
-
2 years ago
2022-03-12 13:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
C-style block comment with "*/" escape
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
-
2 years ago
2022-02-25 07:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Split words in brackets
Golang
Split words in brackets
Submitted by
ugurakcil
-
2 years ago
2022-02-18 20:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
2 years ago
2022-02-14 16:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
2 years ago
2022-02-04 07:56
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
2 years ago
2022-02-03 00:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
chia plot
Golang
chia plot
Submitted by
temple
-
2 years ago
2022-01-30 02:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2022-01-14 17:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
晋江文学城作品界面详细信息/jjwxc.net
Golang
for http://my.jjwxc.net/novelreview.php?novelid= +novel id
Submitted by
anonymous
-
2 years ago
2021-12-29 10:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
豆瓣图书信息匹配/Regex for douban books
Golang
提取书籍信息 get book information link like:https://book.douban.com/subject/35049755/
Submitted by
anonymous
-
2 years ago
2021-12-25 13:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
parse dpserver url
Golang
parse dpserver url
Submitted by
qianshen
-
2 years ago
2021-12-14 07:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
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
-
2 years ago
2021-12-09 22:14
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
filter for jjwxc.net/晋江文学城
Golang
use for www.jjwxc.net/bookbase.php after search get novel infomations in the form
Submitted by
DEFAULT_USER_149
-
2 years ago
2021-11-24 08:28
(Last modified 2 years ago)
2021-11-24 09:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
use in query db( in () )
Golang
int&space to 'int',
Submitted by
anonymous
-
2 years ago
2021-11-13 05:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Parse Kubernetes Resource URI Paths
Golang
This regex extracts Kubernetes Resource URIs. Copyright 2021 Mathew Wicks Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License....
Submitted by
Mathew Wicks
-
2 years ago
2021-11-05 05:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Address
Golang
Address check
Submitted by
anonymous
-
2 years ago
2021-11-02 10:00
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Another regex test
Golang
Testing for BetterDiscord chat alias plugin
Submitted by
anonymous
-
2 years ago
2021-11-01 19:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
character followed by number
Golang
ehehe
Submitted by
arahsafari
-
2 years ago
2021-10-26 16:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Friendzymes: dna-annotate github action example
Golang
Example input-pattern for the Friendzymes GitHub Action dna-annotate.
Submitted by
Friendzymes Team
-
2 years ago
2021-10-21 00:38
1
2
3
4
5
6
...
10
Date String ISO Pattern
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(
\d
{4}
-
[
01
]
\d
-
[
0
-
3
]
\d
T
[
0
-
2
]
\d
:
[
0
-
5
]
\d
:
[
0
-
5
]
\d
\.
\d
+
(
[
+-
]
[
0
-
2
]
\d
:
[
0
-
5
]
\d
|
Z
)
)
|
(
\d
{4}
-
[
01
]
\d
-
[
0
-
3
]
\d
T
[
0
-
2
]
\d
:
[
0
-
5
]
\d
:
[
0
-
5
]
\d
(
[
+-
]
[
0
-
2
]
\d
:
[
0
-
5
]
\d
|
Z
)
)
|
(
\d
{4}
-
[
01
]
\d
-
[
0
-
3
]
\d
T
[
0
-
2
]
\d
:
[
0
-
5
]
\d
(
[
+-
]
[
0
-
2
]
\d
:
[
0
-
5
]
\d
|
Z
)
)
$
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Lucas Morais
-
9 months ago
2022-12-19 15:16