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 8,360 community submitted regex patterns...
0
phoneNumber without +
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
world phone number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
A name of a csv file in digits 6 chars long, 10 chars in total
PCRE2 (PHP >=7.3)
Find any flaws? ignore case = true global = false "123456.csv" assert true
Submitted by
anonymous
-
4 years ago
0
head <link> parser
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Password Strength Check - All Unicode - JS
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Match <a href=...> attributes containing certain words.
ECMAScript (JavaScript)
Matches all URLs inside of href attributes which start with "http(s)" and contain either "apply" or "applica".
Submitted by
Jan Prazak
-
4 years ago
0
Master Spark URL validation
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
link files using bracket syntax -- vscode
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Movie Titles
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
DocRefIdType
PCRE2 (PHP >=7.3)
Een unieke naam ter identificatie van het document.
Submitted by
M Meerkerk
-
4 years ago
(Last modified 4 years ago)
0
Parse URL then Breakdown into parts
ECMAScript (JavaScript)
Will parse a valid URL and break it down into its parts. Making it easier to handle for checking and anything else really in any given langage The following link is a hastebin example of the parsing in Java It will output the following https://haste.readonly.network/viheradehe.java...
Submitted by
ROMVoid95
-
4 years ago
0
Phone number pseudo-check (checks the minimum number of digits)
PCRE2 (PHP >=7.3)
7 digits in this case
Submitted by
Hohanoff
-
4 years ago
0
Versioned Git Branch
PCRE2 (PHP >=7.3)
Branch versions of the from Number.Number.Number
Submitted by
anonymous
-
4 years ago
0
Currency to input
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
email with domain exclusion - jimbolo
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
match secrets in config file with one exp with 3 groups
PCRE2 (PHP >=7.3)
no description available
Submitted by
dilnix
-
4 years ago
0
validate password
ECMAScript (JavaScript)
no description available
Submitted by
blastz
-
4 years ago
0
Time
PCRE2 (PHP >=7.3)
no description available
Submitted by
Andrea Russo
-
4 years ago
0
ukrainian university title + email regexp
Python
no description available
Submitted by
dilnix
-
4 years ago
0
Youtube AdBlock Regexp
PCRE2 (PHP >=7.3)
From the whole list to single regexp with options
Submitted by
Harianto van Insulinde
-
4 years ago
(Last modified a year ago)
1
...
280
281
282
283
284
...
418
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)