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...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mongo db email validation
Golang
email validation based on the restrictions for entering email adresses into a mongo db email field.
Submitted by
levire.com
-
4 years ago
2019-10-09 10:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove whiteSpace and char
Golang
no description available
Submitted by
anonymous
-
4 years ago
2019-12-27 06:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
my
Golang
no description available
Submitted by
anonymous
-
4 years ago
2019-12-28 22:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lkker-cos
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-01-13 08:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Simple measurement amount and unit
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-01-27 11:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
ISO 8601 Datetime Validation
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-02-20 05:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Boucle d'or
Golang
Attrape la famille ours
Submitted by
anonymous
-
4 years ago
2020-02-24 19:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
KDE_Converter_Runner_Regex
Golang
WIP
Submitted by
anonymous
-
4 years ago
2020-02-26 18:04
0
0 upvotes, 0 downvotes (score 0%) (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 with a len(domain) <= 253 check. This can be used as-is in other languages, even with RE2 regex engine. Non-capturing grou...
Submitted by
anonymous
-
4 years ago
2020-03-23 01:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-04-01 16:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
emojis
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-04-17 14:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Golang fmt verbs
Golang
Can be used to find all of the verbs in a golang format string. It will correctly extract verbs that would otherwise be specified by fmt.Sprintf, including their flags, width and precision. You can test it out on the fmt documentation, here: https://golang.org/pkg/fmt/
Submitted by
anonymous
-
3 years ago
2020-04-13 16:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Commit msg
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-10-09 12:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-05-05 04:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cadence-Virtuoso_Multi_mode_Simulation
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-05-18 14:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Cookie mask keywords
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-05-28 11:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find email addresses
Golang
find email addresses
Submitted by
anon
-
a year ago
2022-04-15 18:57
(Last modified a year ago)
2022-04-15 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
cri logfmt
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
-
a year ago
2022-04-21 01:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Jira issue number
Golang
Matches and catches Jira issue number
Submitted by
anonymous
-
a year ago
2022-04-26 09:50
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Golang Docker matcher
Golang
Used by me for docker-retagger
Submitted by
Roman Minebaev
-
a year ago
2022-04-28 18:42
1
...
5
6
7
8
9
10
tag standard
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(?P<major>
0
|
[
1
-
9
]
\d
*
)
\.
(?P<minor>
0
|
[
1
-
9
]
\d
*
)
\.
(?P<patch>
0
|
[
1
-
9
]
\d
*
)
(?:
-
(?P<prerelease>
(?P<stage>
(?:
alpha
|
beta
|
rc
)
)
(?:
\.
(?P<feature>(?:(?P<pic>
[
0
-
9a
-
zA
-
Z-
]
*
)
\.
)?
[
0
-
9a
-
zA
-
Z-
]
*
)
)?
)
)?
(?:
\+
(?P<buildmetadata>
[
0
-
9a
-
zA
-
Z-
]
+
(?:
\.
[
0
-
9a
-
zA
-
Z-
]
+
)*
)
)?
$
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2020-10-14 19:15