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 5,640 community submitted regex patterns...
0
for killerswim
.NET 7.0 (C#)
a
Submitted by
anonymous
-
a year ago
0
Author cite
Python
Get author names from shitty import
Submitted by
anonymous
-
a year ago
0
chit_kaung_song_names
Python
Extract Singer Chit Kaung's song names in Myanmar + English
Submitted by
paing
-
a year ago
0
匹配中文数字,用于逆向文本标准化
Python
大部分应当匹配的数字都匹配上了。 第2个捕获组,即是内容(可能加的有单位,需要手动去除)
Submitted by
HaujetZhao
-
a year ago
0
Valid HTTP url
Python
Matches in python valid urls (excludes some edge cases), but pretty good to verify an URL before scraping it
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Official Emeil validation Regex
ECMAScript (JavaScript)
Regex from the Mail::RFC822::Address: regexp-based address validation Access here
Submitted by
Igor Julliano Aguiar Sotero
-
a year ago
0
Youtube Video Id
.NET 7.0 (C#)
Matches the video Id in Youtube URL.
Submitted by
CW
-
a year ago
0
fcc-title-case-a-sentence
ECMAScript (JavaScript)
a regex to find first letter of each word
Submitted by
anonymous
-
a year ago
0
IPv4-CIDR
ECMAScript (JavaScript)
Match IPv4-CIDR (JavaScript)
Submitted by
fwqaaq
-
a year ago
0
Redis command parser
ECMAScript (JavaScript)
Modified source from https://stackoverflow.com/a/64833638/1454045
Submitted by
Nathaniel Schweinberg
-
a year ago
0
Regex para Versión de Software
Python
Aún está pendiente que detecte ciertas versiones, como cuando trae la fecha o el 32/64 bits, build X, entre otros ejemplos
Submitted by
anonymous
-
a year ago
0
CSS @import statement
ECMAScript (JavaScript)
Matches CSS @import statements with media and layer support
Submitted by
anonymous
-
a year ago
0
URL Validation
.NET 7.0 (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
a year ago
0
last last name wo suffix1
Python
last last name wo suffix1
Submitted by
josh
-
a year ago
0
匹配任何小数,小数点后不保留0
ECMAScript (JavaScript)
匹配任何小数,小数点后不保留0
Submitted by
anonymous
-
a year ago
-1
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
a year ago
0
match ipv4 dynamic add
Python
match ipv4 dynamic add
Submitted by
anonymous
-
a year ago
0
scriptpak №1
Python
scriptpak №1
Submitted by
anonymous
-
a year ago
0
Markdown JSON codeblock match
ECMAScript (JavaScript)
Useful to extract JSON from LLM markdown responses
Submitted by
Lamer217
-
a year ago
(Last modified a year ago)
0
Options symbol parse
ECMAScript (JavaScript)
parse option symbol
Submitted by
anonymous
-
a year ago
1
...
278
279
280
281
282
Community Library Entry
-1
Regular Expression
ECMAScript (JavaScript)
/
(?<=
(?:
^
|
[^
\\
]
)
(?:
\\\\
)*
)
(
(
[
`'"
]
)
(
.
*
?
(?:
[^
\\
]
(
\\\\
)*
|
$
)
(
\2
|
$
)
)
)
/
g
Open regex in editor
Description
匹配带引号内容,被引号包含的内容
结构(
$x
)
((前引号)(内容)(后引号))
整体内容(包含引号)
前引号
内容
后引号
默认匹配
[`'"]
引号,可以在表达式的匹配2中更改
消除转义字符对引号的影响
单个有效引号会直接匹配至末尾,若不想匹配至末尾可以移除表达式尾部的
$
Submitted by
诶!你的尾巴掉了
-
a year ago
(Last modified a year ago)