Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,820 community submitted regex patterns...
0
filter
PCRE (PHP <7.3)
filter string
Submitted by
anonymous
-
2 years ago
0
Project
Python
Project
Submitted by
anonymous
-
2 years ago
0
regex only character number and 14 special character
PCRE (PHP <7.3)
regex only character number and 14 special character
Submitted by
hao.nguyen
-
2 years ago
0
S3 Path with ending .json
Golang
S3 Path with ending .json
Submitted by
Sowmith
-
2 years ago
0
Match token and optional convert to type in string
.NET 7.0 (C#)
I use this in a JSON template together with JObject data to create a JSON string
Submitted by
rkleinkromhof
-
2 years ago
0
Extract just YouTube IDs
PCRE (PHP <7.3)
You can easily extract YouTube IDs, excluding the paths and parameters.
Submitted by
anonymous
-
2 years ago
0
valid date
Python
this regular expression is for validating dates in yyyy-mm-dd format
Submitted by
anonymous
-
2 years ago
0
https://regex101.com/r/VrZHR8/1
PCRE (PHP <7.3)
https://regex101.com/r/VrZHR8/1
Submitted by
anonymous
-
2 years ago
0
extract title and page from ocr of pdf content by carlleonhard
Python
extract title and page from ocr of pdf content by carlleonhard
Submitted by
carlleonhard
-
2 years ago
0
IP Table Parse IPID
.NET 7.0 (C#)
Match 1 is the IPID
Submitted by
Tres Little
-
2 years ago
0
foengz1
Python
htmltag
Submitted by
Foengz
-
2 years ago
0
Changed files in "git pull" output.
Python
Get the changed files from the "git pull" output. Use finditer to get a list of Matches.
Submitted by
anonymous
-
2 years ago
0
Python find {vars}
Python
Find every used variable in string between { and }
Submitted by
anonymous
-
2 years ago
0
Prefixed numerics
Python
Search regex for prefixed numerics (kB, Mb. ms. kHz etc.)
Submitted by
delameter
-
2 years ago
0
Verify email
Java 8
Regex for email
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Get project name from git url
Golang
Used by Zarf to obtain the name of a repository when given a git URL.
Submitted by
Jonathan Perry
-
2 years ago
0
Sizes
Python
Getting sizes, formatted as in x or x. It supports up to 3 digits, with an additional, optional, decimal digit. The decimal point could be a comma, a point or even an apostrophe ( ' ).
Submitted by
Hermes
-
2 years ago
0
Split URL
Python
source = "https://regex101.com/r/Y5b7zZ/3" result = ("https", "regex101.com", "/r/Y5b7zZ/3") `
Submitted by
saparapat
-
2 years ago
0
bkengine多行宏正则解析
Python
用于解析bkengine的宏代码 如果代码的开头是形如// 这种注释,你需要先通过编程代码手动判断此行的开头是否为注释,如果是,则不处理后面的diam 如果注释在宏代码的后面 此正则不会处理在尾部的单行 注释 注:此宏仅支持当行宏匹配(多行宏匹配可能会出现小问题)
Submitted by
小沙盒工作室
-
2 years ago
0
bkengine多行宏解析器
Python
简体中文: 用于解析bkengine的宏代码 如果代码的开头是形如// 这种注释,你需要先通过编程代码手动判断此行的开头是否为注释,如果是,则不处理后面的diam 如果注释在宏代码的后面 此正则不会处理在尾部的单行注释 注:此宏仅支持当行宏匹配(多行宏匹配可能会出现小问题)...
Submitted by
小沙盒工作室
-
2 years ago
(Last modified 2 years ago)
1
...
571
572
573
574
575
...
591
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?<=
<FilesMatch
"test">
)
(
(
.
|
\n
)*
?
)
(?=
<
\/
FilesMatch>
)
/
Open regex in editor
Description
How to include the matched cases in the result?
Submitted by
anonymous
-
10 years ago