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 300 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
goccy/go-json benchmark
Golang
pushd benchmarks && go mod vendor -v && go test -v -run='^$' -bench='^Benchmark.*(|(Decoder|Reuse|String|Unmapped|GoJson(NoEscape)?))$' -benchmem . && popd `
Submitted by
anonymous
-
3 years ago
2020-11-24 15:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
https://twitter.com/MGWVc
Golang
[](url)
Submitted by
anonymous
-
3 years ago
2020-11-22 18:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
match ***
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-11-22 02:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
tag standard
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-10-14 19:15
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)
sourctype
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-10-01 17:26
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
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Unix file with full path
Golang
Find all string matches with dir, one or more subdir, file name with optional extension. Common example with all capturing groups included: ../../dir/SubDir1/SubDir2/file.ext ...
Submitted by
anonymous
-
3 years ago
2020-08-10 22:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
windows file name from full path
Golang
Find all string matches with dir, one or more subdir, file name with optional extension. Common example with all capturing groups included: C://ProgramFiles/MyDir1/myDir2/file.ext
Submitted by
anonymous
-
3 years ago
2020-08-10 22:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lxx Wurzel
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-08-07 05:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Flexible box
Golang
no description available
Submitted by
anonymous
-
3 years ago
2020-07-30 16:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Traefik stripprefixregex for web apps
Golang
Notes: Do not forget to escape the $ by an additional $. Escaping ? like \? does not work. But you could use [?] instead End result should be like this: "traefik.http.middlewares.r6tt-dev-web.stripprefixregex.regex=^/[a-z0-9/]+[a-z0-9]+([?]+.*)?$$"...
Submitted by
anonymous
-
3 years ago
2020-07-17 12:03
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)
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 17: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)
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)
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)
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 16:21
1
...
7
8
9
10
11
12
13
...
15
Parse Kubernetes Resource URI Paths
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Golang
`
^
(?:
/api
|
/apis/
(?P<GROUP>
[^
/
]
+
)
)
/
(?P<VERSION>
[^
/
]
+
)
(?:
/namespaces/
(?P<NAMESPACE>
[^
/
]
+
)
)?
/
(?P<RESOURCETYPE>
[^
/
\n
]
+
)
(?:
/
(?P<NAME>
[^
/
\n
]
+
)
)?
(?:
/
(?P<SUBRESOURCE>
[^
/
\n
]
+
)
)?
$
`
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Mathew Wicks
-
2 years ago
2021-11-05 05:52