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)
Log Data Parsing
Golang
parse log data
Submitted by
anonymous
-
3 years ago
2021-05-04 04:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Semantic Versioning
Golang
Semantic versioning regex
Submitted by
anton-yurchenko
-
3 years ago
2021-05-17 17:29
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Filter 4, 10 digits and email
Golang
Test
Submitted by
gert rohde
-
3 years ago
2021-05-25 13:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Valid email address in Go
Golang
A regexp to validate an email address according to https://html.spec.whatwg.org/#valid-e-mail-address . Note that the backslash in the name part of the regexp on that site is there to escape the forward slash, which is not needed in Go. EDIT: This is newer than the version at https://regex101.com/l...
Submitted by
markus@maragu.dk
-
2 years ago
2021-06-22 11:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Add string after matching 1st occurence, every line
Golang
Regex adding a string (here vs_) after 1st matching occurence (of reflectance_\d_).
Submitted by
Nikos Alexandris
-
2 years ago
2021-09-08 10:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Changelog commit template
Golang
Changelog commit template
Submitted by
anonymous
-
2 years ago
2021-10-18 14:03
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
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)
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)
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)
use in query db( in () )
Golang
int&space to 'int',
Submitted by
anonymous
-
2 years ago
2021-11-13 05:11
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)
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)
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)
豆瓣图书信息匹配/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)
晋江文学城作品界面详细信息/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)
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)
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)
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
2 years ago
2022-02-04 07:56
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
1
2
3
4
5
6
7
...
10