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...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Kafka loki parser
Golang
Kafka loki parser
Submitted by
anonymous
-
a month ago
2023-10-24 21:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
3 months ago
2023-09-02 02:02
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
4 months ago
2023-08-11 19:09
(Last modified 4 months ago)
2023-08-11 21:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Catch packages from 'tdnf list' output
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
-
5 months ago
2023-06-26 18:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Home
Golang
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
7 months ago
2023-05-13 08:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract <*n or <n where n is a number
Golang
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
7 months ago
2023-05-11 14:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Authelia regex path rules
Golang
Testing Authelia subdomain / path rules. You can read more at the Authelia Docs By default, this regex101 page is shown a test for a generic API path domain: "some-sub.drpranavmishra.com" resources:...
Submitted by
Pranav Mishra
-
7 months ago
2023-05-06 19:29
(Last modified 7 months ago)
2023-05-07 13:35
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
7 months ago
2023-05-03 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
7 months ago
2023-05-02 03:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配限定后缀名的文件,忽略大小写
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
-
7 months ago
2023-04-26 14:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配限定后缀名中的指定关键字,忽略大小写
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
-
7 months ago
2023-04-26 14:31
(Last modified 7 months ago)
2023-04-26 14:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
7 months ago
2023-04-21 10:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pxc plcnext
Golang
plcnext version strings
Submitted by
anonymous
-
8 months ago
2023-03-27 07:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
domain
Golang
ss
Submitted by
sssssss
-
9 months ago
2023-03-12 10:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Semver split
Golang
"1.2.3" Group 1: 1 Group 2: 2 Group 3: 3
Submitted by
Icaruk
-
9 months ago
2023-03-10 10:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kt SDK V2
Golang
kt SDKV2
Submitted by
anonymous
-
10 months ago
2023-02-13 15:50
(Last modified 9 months ago)
2023-02-14 14:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GO SDK V2
Golang
Go SDK v2
Submitted by
anonymous
-
10 months ago
2023-02-13 14:23
(Last modified 9 months ago)
2023-02-14 14:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
REACT SDK V3
Golang
React SDK V3
Submitted by
anonymous
-
10 months ago
2023-02-13 10:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Anime Xdcc Name + Episode Regex
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
-
10 months ago
2023-02-11 04:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
log timestamp
Golang
extract time stamp from log entry
Submitted by
anonymous
-
10 months ago
2023-01-30 15:42
1
2
3
4
...
10
等等
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\S
)
\b
(
(?:
S
\d
+
)?
EP
?
\d
+
\b
)
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-01-17 03:16