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 300 community submitted regex patterns...
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)
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)
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)
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
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
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Valid email regexp 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.
Submitted by
markus@maragu.dk
-
2 years ago
2021-06-22 11:02
-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)
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)
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)
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)
Detecting CJK Chars in Golang!
Golang
Detecting CJK Chars in Golang!
Submitted by
anonymous
-
3 years ago
2021-05-01 11:13
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Date by Month Name
Golang
Best I could do for parsing dates spelled out as day, month name, year
Submitted by
anonymous
-
3 years ago
2021-03-13 21:45
(Last modified 5 months ago)
2023-07-19 19:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
artifactory-request
Golang
no description available
Submitted by
Scott Barnes
-
3 years ago
2021-03-11 16:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex for email searches
Golang
no description available
Submitted by
Manuel
-
3 years ago
2021-02-26 13:30
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISO8601-utc-time
Golang
no description available
Submitted by
johndunne
-
3 years ago
2021-02-21 18:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISO8601-duration
Golang
no description available
Submitted by
johndunne
-
3 years ago
2021-02-21 18:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MYISAM
Golang
no description available
Submitted by
anonymous
-
3 years ago
2021-02-10 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LONG BLOB
Golang
no description available
Submitted by
anonymous
-
3 years ago
2021-02-10 14:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CHARACTER SET | COLLATE
Golang
no description available
Submitted by
anonymous
-
3 years ago
2021-02-10 14:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ADD CHANGE MODIFY
Golang
no description available
Submitted by
anonymous
-
3 years ago
2021-02-10 13:50
1
...
6
7
8
9
10
11
12
...
15
ISO8601-utc-time
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(
-
?
(?:
[
1
-
9
]
[
0
-
9
]
*
)?
[
0
-
9
]
{4}
)
-
(
1
[
0
-
2
]
|
0
[
1
-
9
]
)
-
(
3
[
01
]
|
0
[
1
-
9
]
|
[
12
]
[
0
-
9
]
)
T
(
2
[
0
-
3
]
|
[
01
]
[
0
-
9
]
)
:
(
[
0
-
5
]
[
0
-
9
]
)
:
(
[
0
-
5
]
[
0
-
9
]
)
(
\\
.
[
0
-
9
]
+
)?
(
Z
)?
$
`
Open regex in editor
Description
Loading markdown...
Submitted by
johndunne
-
3 years ago
2021-02-21 18:50