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,780 community submitted regex patterns...
0
Match for equ
ECMAScript (JavaScript)
Matching for equation
Submitted by
anonymous
-
2 years ago
0
commitlint gitmoji
ECMAScript (JavaScript)
commitlint to cz-emoji-conventional
Submitted by
anonymous
-
2 years ago
0
NIT Colombia
ECMAScript (JavaScript)
Número de Identificación Tributaria para Colombia 🇨🇴.
Submitted by
anonymous
-
2 years ago
0
LinkedIn reaction URL
ECMAScript (JavaScript)
A regular expression pattern to match for LinkedIn reactions (create, delete or update reaction)
Submitted by
celyes
-
2 years ago
0
ClassB private IP address range
ECMAScript (JavaScript)
https://www.ibm.com/docs/en/networkmanager/4.2.0?topic=translation-private-address-ranges
Submitted by
artdiniz
-
2 years ago
0
test
Java 8
test
Submitted by
anonymous
-
2 years ago
0
OBIEE Parse Repository Folder
ECMAScript (JavaScript)
Parse Repository Folder for Oracle BI
Submitted by
anonymous
-
2 years ago
0
Database datatype check
Java 8
Database data type determination and extraction. Example: varchar(20) varchar2(20) number(20,3) timestamp...
Submitted by
anonymous
-
2 years ago
0
Titulo da expressao
Java 8
\w
Submitted by
anonymous
-
2 years ago
0
Streetname
ECMAScript (JavaScript)
Letters, numbers, space and . , ' - /
Submitted by
anonymous
-
2 years ago
0
city
ECMAScript (JavaScript)
Letters, space and - , . ' & /
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
edgedb dsn parser
ECMAScript (JavaScript)
parse an edgedb DSN string
Submitted by
dotlouis
-
2 years ago
0
city regex opposite
ECMAScript (JavaScript)
Do the opposite so we can test for invalid characters
Submitted by
anonymous
-
2 years ago
0
Match Emojis
ECMAScript (JavaScript)
Match all emojis using unicode
Submitted by
Sagar Panchal
-
2 years ago
0
E-mail address
ECMAScript (JavaScript)
RFC Compliant Email Address (https://datatracker.ietf.org/doc/html/rfc2822)
Submitted by
David Bécu
-
2 years ago
0
Node-red DSMR reading
ECMAScript (JavaScript)
0:1.8.1(010972.842*kWh) normaal tarif
Submitted by
anonymous
-
2 years ago
0
ip address
Java 8
ip address regex
Submitted by
shyam
-
2 years ago
0
Company name
ECMAScript (JavaScript)
Company name
Submitted by
anonymous
-
2 years ago
0
ISO date
ECMAScript (JavaScript)
Validates a date string as a valid iso entry
Submitted by
Franco Grobler (franco199906@gmail.com)
-
2 years ago
0
Match time HH:MM:SS or MM:SS similar to YT chapters
ECMAScript (JavaScript)
Used in JS context to extract time from string metadata aka YouTube chapters. Trailing text and chars are ignored for each new line.
Submitted by
JVE
-
2 years ago
(Last modified 2 years ago)
1
...
182
183
184
185
186
...
189
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)