Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among community submitted regex patterns...
0/512
-1
rtrtr
Created
·
2021-05-26 15:21
Flavor
·
Golang
gtgtg
Submitted by
anonymous
0
Catch packages from 'tdnf list' output
Created
·
2023-06-26 18:42
Flavor
·
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
0
Get digits
Created
·
2023-05-03 18:20
Flavor
·
Golang
Trying to get digits
Submitted by
Arthur Silva
0
walter1976LastClean
Created
·
2023-05-02 03:52
Flavor
·
Golang
walter1976LastClean
Submitted by
anonymous
0
匹配限定后缀名的文件,忽略大小写
Created
·
2023-04-26 14:47
Flavor
·
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
0
匹配限定后缀名中的指定关键字,忽略大小写
Created
·
2023-04-26 14:31
Updated
·
2023-04-26 14:38
Flavor
·
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
0
pxc plcnext
Created
·
2023-03-27 07:38
Flavor
·
Golang
plcnext version strings
Submitted by
anonymous
0
domain
Created
·
2023-03-12 10:30
Flavor
·
Golang
ss
Submitted by
sssssss
0
Semver split
Created
·
2023-03-10 10:10
Flavor
·
Golang
"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by
Icaruk
0
Kt SDK V2
Created
·
2023-02-13 15:50
Updated
·
2023-02-14 14:37
Flavor
·
Golang
kt SDKV2
Submitted by
anonymous
0
GO SDK V2
Created
·
2023-02-13 14:23
Updated
·
2023-02-14 14:22
Flavor
·
Golang
Go SDK v2
Submitted by
anonymous
0
REACT SDK V3
Created
·
2023-02-13 10:15
Flavor
·
Golang
React SDK V3
Submitted by
anonymous
0
Anime Xdcc Name + Episode Regex
Created
·
2023-02-11 04:28
Flavor
·
Golang
Parse XDCC filename strings for a name and episode. Appears to work for most major bots but unreliable for any data other than name and episode number/version
Submitted by
anonymous
0
log timestamp
Created
·
2023-01-30 15:42
Flavor
·
Golang
extract time stamp from log entry
Submitted by
anonymous
0
RE2 match of APRS-IS header information
Created
·
2023-01-07 18:33
Flavor
·
Golang
This re2 (using Go in my case) matches the APRS-IS header. The format of the APRS-IS packet is TNC2 standard: SOURCE>DESTINATION,PATH:PACKET This regex matches the Q construct format used by APRS-IS: `SOURCE>DESTINATION,PATH,QCON,FROMCALL: The result is a series of capturable groups: Group 1: Src SSID Group 2: Dest SSID Group 3: Path Group 4: Q construct Group 5: From Calll
Submitted by
Jack Hamm (jack@wv6l.net)
0
Golang Get variables In Js
Created
·
2023-01-06 18:06
Flavor
·
Golang
To get
Submitted by
anonymous
0
Date String ISO Pattern
Created
·
2022-12-19 15:16
Flavor
·
Golang
Date String ISO Pattern matcher
Submitted by
Lucas Morais
0
VLAN ID Validation Regex
Created
·
2022-12-09 13:32
Flavor
·
Golang
VLAN ID Validation Regex Please use first segment or second depending on the Extended VLAN usage such as "1-256" or "1-4096" : Non-extended VLAN IDs (1-256), check v2 of the regex entry ^(25[0-6]|(2[0-4]|1\d|[1-9])\d|[1-9])$ Extended VLAN IDs (1-4096), check v3 of the regex entry ^(409[0-6]|(40[0-8]|[1-3]\d\d|[1-9]\d|[1-9])\d|[1-9])$
Submitted by
ulgena
0
IPv4 Address Validation Regex
Created
·
2022-12-09 13:08
Updated
·
2022-12-09 13:09
Flavor
·
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
0
super regex
Created
·
2022-11-26 10:38
Flavor
·
Golang
Get every word ending with dot using Regex/VBA
Submitted by
anonymous
0
Terraform Service Name
Created
·
2022-11-10 23:37
Flavor
·
Golang
Useful for validating services in TF
Submitted by
Nick Zaccardi
0
S3 Path with ending .json
Created
·
2022-09-15 14:38
Flavor
·
Golang
S3 Path with ending .json
Submitted by
Sowmith
0
Ruby Gemspec Versioning
Created
·
2022-08-30 13:09
Flavor
·
Golang
Determine the version value in a gemspec configuration file
Submitted by
Ori
0
Match Date From DateTime ISO 8601
Created
·
2022-08-22 10:50
Flavor
·
Golang
Match Date From DateTime ISO 8601
Submitted by
kuyaninja
0
oracle_package_new_type
Created
·
2022-07-27 07:20
Flavor
·
Golang
find/replace oracle package body new type
Submitted by
anonymous
0
Letras, número e traço
Created
·
2022-07-26 13:49
Flavor
·
Golang
Substitui tudo que não for letra, número e traço
Submitted by
anonymous
0
匹配邮箱
Created
·
2022-05-23 06:48
Flavor
·
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+)
Submitted by
Lintao
0
Mikrotik Regex Firewall Log Golang
Created
·
2022-05-18 12:47
Flavor
·
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
0
String length pattern
Created
·
2022-05-10 05:23
Flavor
·
Golang
Simple search of string length with the regexp
Submitted by
anonymous
0
Golang Docker matcher
Created
·
2022-04-28 18:42
Flavor
·
Golang
Used by me for docker-retagger
Submitted by
Roman Minebaev
0
Jira issue number
Created
·
2022-04-26 09:50
Flavor
·
Golang
Matches and catches Jira issue number
Submitted by
anonymous
0
cri logfmt
Created
·
2022-04-21 01:59
Flavor
·
Golang
The CRI expr will match and parse log lines of this format: 2019-01-01T01:00:00.000000001Z stderr P some log message
Submitted by
east4ming
0
find email addresses
Created
·
2022-04-15 18:57
Updated
·
2022-04-15 19:01
Flavor
·
Golang
find email addresses
Submitted by
anon
0
Wordle Result
Created
·
2022-03-12 13:22
Flavor
·
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
0
C-style block comment with "*/" escape
Created
·
2022-02-25 07:06
Flavor
·
Golang
Match /* ... / with escape of quotation marks, e.g. / "*/" */. No look ahead needed.
Submitted by
Guyutongxue
0
Split words in brackets
Created
·
2022-02-18 20:12
Flavor
·
Golang
Split words in brackets
Submitted by
ugurakcil
0
cisco cat3650cx & cat1000 'show power inline'
Created
·
2022-02-14 16:46
Flavor
·
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
0
Replacing URL through Hyperlink in Text
Created
·
2022-02-04 07:56
Flavor
·
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
0
chia plot
Created
·
2022-01-30 02:14
Flavor
·
Golang
chia plot
Submitted by
temple
0
Unreal Engine (UE_LOG) Parser - GoLang version
Created
·
2022-01-14 17:48
Flavor
·
Golang
This regex is suitable for anyone ingesting UE_LOG files into Loki and creating dashboards in Grafana.
Submitted by
Mike McShaffry
0
晋江文学城作品界面详细信息/jjwxc.net
Created
·
2021-12-29 10:57
Flavor
·
Golang
for http://my.jjwxc.net/novelreview.php?novelid= +novel id
Submitted by
anonymous
0
豆瓣图书信息匹配/Regex for douban books
Created
·
2021-12-25 13:22
Flavor
·
Golang
提取书籍信息 get book information link like:https://book.douban.com/subject/35049755/
Submitted by
anonymous
0
parse dpserver url
Created
·
2021-12-14 07:54
Flavor
·
Golang
parse dpserver url
Submitted by
qianshen
0
Zarf docker domain matcher
Created
·
2021-12-09 22:14
Flavor
·
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 parser.ReplaceAllString(src, substitution) }
Submitted by
Jeff McCoy
0
filter for jjwxc.net/晋江文学城
Created
·
2021-11-24 08:28
Updated
·
2021-11-24 09:37
Flavor
·
Golang
use for www.jjwxc.net/bookbase.php after search get novel infomations in the form
Submitted by
DEFAULT_USER_149
0
use in query db( in () )
Created
·
2021-11-13 05:11
Flavor
·
Golang
int&space to 'int',
Submitted by
anonymous
0
Address
Created
·
2021-11-02 10:00
Flavor
·
Golang
Address check
Submitted by
anonymous
0
character followed by number
Created
·
2021-10-26 16:41
Flavor
·
Golang
ehehe
Submitted by
arahsafari
0
Friendzymes: dna-annotate github action example
Created
·
2021-10-21 00:38
Flavor
·
Golang
Example input-pattern for the Friendzymes GitHub Action dna-annotate.
Submitted by
Friendzymes Team
0
Changelog commit template
Created
·
2021-10-18 14:03
Flavor
·
Golang
Changelog commit template
Submitted by
anonymous
Load More
Community Library Entry
0
Regular Expression
Created
·
2022-09-23 14:23
Flavor
·
PCRE2 (PHP)
/
^
(
(
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
(
\.
[^
<>()
\[\]\\
.,;:
\s
@"
]
+
)*
)
|
(
"
.
+
"
)
)
@
(
(
\[
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
]
)
|
(
(
[
a
-
zA
-
Z
\-
0
-
9
]
+
\.
)+
[
a
-
zA
-
Z
]
{2,}
)
)
$
/
gm
Open regex in editor
Description
Email test
Submitted by
anonymous