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 3,760 community submitted regex patterns...
0
sql inj
ECMAScript (JavaScript)
as
Submitted by
anonymous
-
2 years ago
0
BI/CC
.NET 7.0 (C#)
Verificação do número de BI/CC
Submitted by
anonymous
-
2 years ago
0
Bad Markdown Links matcher
ECMAScript (JavaScript)
// Expecting this is a string, will try to replace md links // in wrong format: // [link nowhere] or [link] // to just link nowhere or link
Submitted by
diegoaguilar
-
2 years ago
0
Matches filenames in urls
ECMAScript (JavaScript)
Filenames in urls
Submitted by
anonymous
-
2 years ago
0
Email address validator - ASCII standard
.NET 7.0 (C#)
Checks whether the string is a valid email address per ASCII.
Submitted by
rotors6472
-
2 years ago
0
Match filenames in URLS (updated)
ECMAScript (JavaScript)
Match filenames in URLS (updated)
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Тестовая строка
ECMAScript (JavaScript)
Здесь можно тренироваться с регулярками
Submitted by
anonymous
-
2 years ago
0
MoltenObsidian Internal Link
.NET 7.0 (C#)
Provides parsing w/ named variables for MoltenObsidian-flavoured Markdown wikilinks. (https://github.com/Nodsoft/MoltenObsidian)
Submitted by
Sakura Akeno Isayeki
-
2 years ago
(Last modified a year ago)
0
find unity components guid
ECMAScript (JavaScript)
use to find unity components guid
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
File extension
ECMAScript (JavaScript)
Parse file extension.
Submitted by
Webmato
-
2 years ago
0
Amount (Number with two decimal places)
ECMAScript (JavaScript)
| valid | invalid | |:----------|:------------| | 0.00 | 1 | | 0.99 | 1. | | 10.00 | 1.9 | | 999.99 | 1,99 |...
Submitted by
anonymous
-
2 years ago
0
Capture Words
ECMAScript (JavaScript)
Get each word from a text.
Submitted by
anonymous
-
2 years ago
0
import syntax for regex with grouping
ECMAScript (JavaScript)
HAYO!
Submitted by
CreeJee
-
2 years ago
0
MyRegex
ECMAScript (JavaScript)
Parse
Submitted by
anonymous
-
2 years ago
0
First letter of compound name with accent (space, apostrophe and hyphen)
ECMAScript (JavaScript)
First letter of compound name with accent (space, apostrophe and hyphen)
Submitted by
Nale974
-
2 years ago
0
IPv4 Address Validation Regex
Golang
IPv4 Address Validation Regex
Submitted by
ulgena
-
2 years ago
(Last modified 2 years ago)
0
VLAN ID Validation Regex
Golang
VLAN ID Validation Regex Please use first segment or second depending on the Extended VLAN usage such as "1-256" or "1-4096" : Non-extended VLAN IDs (1-256), check v2 of the regex entry ...
Submitted by
ulgena
-
2 years ago
0
Match import lines
ECMAScript (JavaScript)
Match import lines to disable spelling error in package names.
Submitted by
anonymous
-
2 years ago
0
Dutch postalcode regex
ECMAScript (JavaScript)
Matches first postal code, case insensitive
Submitted by
anonymous
-
2 years ago
0
URL SERVER
ECMAScript (JavaScript)
Регулярное выражения для проверки URL адреса сервера
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
...
177
178
179
180
181
...
188
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)