Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 200 community submitted regex patterns...
1
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
-
3 years ago
0
Address
Golang
Address check
Submitted by
anonymous
-
3 years ago
0
character followed by number
Golang
ehehe
Submitted by
arahsafari
-
3 years ago
0
Friendzymes: dna-annotate github action example
Golang
Example input-pattern for the Friendzymes GitHub Action dna-annotate.
Submitted by
Friendzymes Team
-
3 years ago
0
Changelog commit template
Golang
Changelog commit template
Submitted by
anonymous
-
3 years ago
1
SQL comments Big Query
Golang
SQL comments on Big Query
Submitted by
anonymous
-
3 years ago
0
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
-
3 years ago
1
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
-
3 years ago
1
lsblk-output-regex
Golang
Trying to adapt this regex to support LVM.
Submitted by
anonymous
-
3 years ago
1
Traefik - MDW to add slash
Golang
Used in Traefik to add slash
Submitted by
juranir.santos@gmail.com
-
3 years ago
1
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
-
3 years ago
0
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
-
3 years ago
1
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
-
3 years ago
-1
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
3 years ago
0
Filter 4, 10 digits and email
Golang
Test
Submitted by
gert rohde
-
3 years ago
0
Semantic Versioning
Golang
Semantic versioning regex
Submitted by
anton-yurchenko
-
3 years ago
0
Log Data Parsing
Golang
parse log data
Submitted by
anonymous
-
4 years ago
0
Detecting CJK Chars in Golang!
Golang
Detecting CJK Chars in Golang!
Submitted by
anonymous
-
4 years ago
0
Date by Month Name
Golang
Best I could do for parsing dates spelled out as day, month name, year
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
0
artifactory-request
Golang
no description available
Submitted by
Scott Barnes
-
4 years ago
1
2
3
4
5
6
...
10
Community Library Entry
1
Regular Expression
Golang
`
(?:
(
\?
=
)
|)
(?:
(?:
(
|
\n
|
\r\n
)
|)
(?:
(
|
\t
)
|)
|)
(?:
|)
(
=
)
(?:
[
A
-
Za
-
z0
-
9
]
.
*
|)
(
\?
(
UTF
|
utf
)
\-
8
\?
)
(
[
A
-
Za
-
z0
-
9
]
\?
)
`
gm
Open regex in editor
Description
Check golang for presence of utf-8 char in rawEmail e.g. ?= =?UTF-8?Q? or =?3D?UTF-8?Q?
Submitted by
oscarunix
-
3 years ago