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 420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Test
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-05-05 04:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
emojis
Golang
no description available
Submitted by
anonymous
-
4 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
-
4 years ago
2020-04-13 16:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
test
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-04-01 16:20
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
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
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)
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)
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)
Simple measurement amount and unit
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-01-27 11:48
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
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
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
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)
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)
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)
Report url regex
Golang
/ui_tests/master/28c6f611
Submitted by
anonymous
-
4 years ago
2019-10-08 16:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
[Help] - need full match of a non valid comment blocks
Golang
no description available
Submitted by
anonymous
-
4 years ago
2019-10-01 23:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Golang Google UUID Validation
Golang
no description available
Submitted by
anonymous
-
4 years ago
2019-09-29 07:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK address extract the Postcode
Golang
for demo 2019/09/30
Submitted by
anonymous
-
4 years ago
2019-09-28 12:27
1
...
14
15
16
17
18
19
20
21
C# Regex Class acts odd
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
[
0
-
9
]
*
)
(
\\
*
)
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
9 years ago
2014-09-04 14:26