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 11,480 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Python Regex to Find Rack Files
Python
Python Regex to Find Rack Files
Submitted by
anonymous
-
5 months ago
2023-05-08 17:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
camel-assistnt resp
Python
camel-assistnt resp
Submitted by
anonymous
-
5 months ago
2023-05-08 02:59
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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
domain name with subdomains
PCRE (PHP <7.3)
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
5 months ago
2023-05-05 14:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
langchain
Python
langchain
Submitted by
anonymous
-
5 months ago
2023-05-04 04:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
5 months ago
2023-05-03 18:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LC - Athento
Python
Expresion regular para extraer informacion desde el titulo de un documento
Submitted by
Fernando Olivera
-
5 months ago
2023-05-02 20:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Pattern Django
Python
URL Pattern Django
Submitted by
Fernando Olivera
-
5 months ago
2023-05-02 20:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
5 months ago
2023-05-02 03:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976FirstClean
Python
walter1976FirstClean
Submitted by
anonymous
-
5 months ago
2023-05-02 03:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
walter1976Split
Python
walter1976Split
Submitted by
anonymous
-
5 months ago
2023-05-02 03:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SparkplugB Topic Pattern
Python
SparkplugB has a specific pattern to the MQTT topic string. Included here is the convention of metrics as a continuation of the topic string (although as an element in the binary payload it is not!)
Submitted by
null-directory
-
5 months ago
2023-04-28 16:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Example 1.1: Pet Name
PCRE (PHP <7.3)
Example used in slide 39
Submitted by
anonymous
-
5 months ago
2023-04-27 04:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
auto-gpt command google
Python
auto-gpt command google returned
Submitted by
anonymous
-
5 months ago
2023-04-26 23:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配限定后缀名的文件,忽略大小写
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
-
5 months ago
2023-04-26 14:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配限定后缀名中的指定关键字,忽略大小写
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
-
5 months ago
2023-04-26 14:31
(Last modified 5 months ago)
2023-04-26 14:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
i++ in bash
PCRE (PHP <7.3)
asdf
Submitted by
anonymous
-
5 months ago
2023-04-22 07:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
auto-gpt- parse system cmd
Python
auto-gpt- parse system cmd
Submitted by
anonymous
-
5 months ago
2023-04-21 23:22
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
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
autogpt-parse next-action
Python
autogpt-parse next-action
Submitted by
anonymous
-
5 months ago
2023-04-20 22:23
1
2
3
4
5
6
7
...
574
Search/Replace Pressure sensor calibration
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
(?<=
"pressure"
..
"pressure"
)
[^
"
]
+
(?=
"
)
\"
*
[
a
-
zA
-
Z
]
+
"
[
,
]
\s
+
)
(
\d
)
[
.
]
(
\d
)
(
\d
+
)
(
,
[^
\d
]
)
(
(
[
-
]
\d
+
)
.
(
\d
)
(
\d
+
)
)
,
[^
\d
]
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-03-17 09:23