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...
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
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
get video id from youtube link
Golang
no description available
Submitted by
RyuaNerin
-
8 years ago
2016-01-23 20:19
(Last modified 2 months ago)
2023-07-24 18:14
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
1
Golang
11
Submitted by
anonymous
-
a year ago
2022-08-26 15:36
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
golang re2 negative lookahead
Golang
Aquivalent solution for golang's unsupported negative lookahead in re2 flavor of go's regex. This example provides a negative lookahead similar to (?!/api/) ignoring routes with the /api/ prefix at the start.
Submitted by
misha
-
5 months ago
2023-04-21 10:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Authelia regex path rules
Golang
Testing Authelia subdomain / path rules. You can read more at the Authelia Docs By default, this regex101 page is shown a test for a generic API path domain: "some-sub.drpranavmishra.com" resources:...
Submitted by
Pranav Mishra
-
5 months ago
2023-05-06 19:29
(Last modified 5 months ago)
2023-05-07 13:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
extract <*n or <n where n is a number
Golang
see https://stackoverflow.com/questions/76228402/regex-to-extract-n-where-n-is-digit
Submitted by
code_monk
-
5 months ago
2023-05-11 14:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Home
Golang
Dj dus er geen je een je aan je enige eerst een he we er
Submitted by
Webmaster
-
5 months ago
2023-05-13 08:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Golang
0x28C6A6DdF8fF8A47A90A69bfE75cd89904a14d71
Submitted by
anonymous
-
a month ago
2023-09-02 02:02
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
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
2 years ago
2021-05-26 15:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 16:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 16:21
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 16:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SEMS
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sem
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
conatact
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
totalsource
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:31
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
acountant
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 17:34
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
totalsource
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-06-25 18:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pack shelves
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-09-18 09:48
1
2
3
4
5
...
10
SQL comments Big Query
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Golang
`
(?i)
--
.
*
|
/
\*
(?s)
.
*
?
\*
/
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2021-09-23 15:19