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)
utf-8 char in imap mail
Golang
Check golang for presence of utf-8 char in rawEmail e.g. ?= =?UTF-8?Q? or =?3D?UTF-8?Q?
Submitted by
oscarunix
-
2 years ago
2021-06-23 16:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Traefik - MDW to add slash
Golang
Used in Traefik to add slash
Submitted by
juranir.santos@gmail.com
-
2 years ago
2021-07-06 15:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
2 years ago
2021-08-18 18:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
yyyy/mm/dd
Golang
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day format. e.g: 2020/02/29 [match] 2021/02/29 ...
Submitted by
mayl0421
-
2 years ago
2021-08-25 12:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
2 years ago
2021-09-23 15:19
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
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract columns names from any select query
Golang
This regex can capture any column name from a select query. Be the original name, like are named on table, renamed with a reserved word AS or even without explicit AS. Go on, and test with your query ;)
Submitted by
Jefferson Gouveia
-
5 years ago
2018-06-28 19:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
IPv4 private CIDR range RFC1918
Golang
Validates that you provide a CIDR in one of the following valid ranges. 0.0.0 – 127.255.255.255 127.0.0.0/8 0.0.0 – 10.255.255.255 10.0.0.0/8 16.0.0 – 172. 31.255.255 172.16.0.0/12 192.168.0.0 – 192.168.255.255 192.168.0.0/16...
Submitted by
David Stockton
-
4 years ago
2020-01-20 10:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get video id from youtube link
Golang
no description available
Submitted by
RyuaNerin
-
8 years ago
2016-01-23 20:19
(Last modified 4 months ago)
2023-07-24 18:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Siebel Id
Golang
no description available
Submitted by
anonymous
-
7 years ago
2016-11-03 10:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Domain validation regex suitable for user input
Golang
This regexp can be used to validate domain names in Golang. While it cannot enforce the 253 character limit (with optional trailing period not included) that can be easily done by a simple len(domain) <= 253 check as well. This can be used as-is in other languages, even with RE2 regex engine. If po...
Submitted by
Alexander Dupuy
-
4 years ago
2020-03-22 22:40
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
FB payload
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-01-09 13:46
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
3 years ago
2021-05-26 15:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 16:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 16:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 16:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sem
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
conatact
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
totalsource
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:31
1
2
3
4
5
...
10
RE2 match of APRS-IS header information
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(
[
a
-
zA
-
Z0
-
9-
]
{1,}
)
>
(
.
*
?
)
[
,
]
(
.
*
){1,}
,
(
qA
[
CXUoOSrRiZI
]
)
,
(
.
+
){1,}
:
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Jack Hamm (jack@wv6l.net)
-
a year ago
2023-01-07 18:33