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)
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
-
4 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
-
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)
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
-
4 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
-
4 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
-
4 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
-
2 years ago
2022-04-15 18:57
(Last modified 2 years ago)
2022-04-15 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OS正则表达式
Java 8
zzx
Submitted by
zzx
-
2 years ago
2022-04-20 12:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DB
Java 8
DB
Submitted by
DB
-
2 years ago
2022-04-20 12:43
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
-
2 years ago
2022-04-21 01:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
括号匹配
Java 8
(\[]\])|(【】)|(())|(\(\))
Submitted by
nasion
-
2 years ago
2022-04-21 11:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Address
Java 8
IP Address RegEx
Submitted by
anonymous
-
2 years ago
2022-04-24 15:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
2 years ago
2022-04-26 03:23
1
...
11
12
13
14
15
16
17
...
21
Specific Year Dates (Regular Expression)
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Java 8
"
^
(
2010
)
[
-
/.
]
(
0
[
1
-
9
]
|
1
[
012
]
)
[
-
/.
]
(
0
[
1
-
9
]
|
[
12
]
[
0
-
9
]
|
3
[
01
]
)
$
|
(
^
[
0
-
3
]
?
[
0
-
9
]
.
[
0
-
3
]
?
[
0
-
9
]
.
(
2010
)
$
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
loganmcampbell
-
2 years ago
2022-03-16 19:33