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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 220 community submitted regex patterns...
0
Pick uuidValue from jSON payload
Java 8
.
Submitted by
jeevan
-
a year ago
0
test everything
Java 8
hello
Submitted by
anonymous
-
a year ago
0
SUPPL REGEX
Java 8
Regex to get only information in the SUPPL subdirectory
Submitted by
O'Connor
-
a year ago
(Last modified a year ago)
0
Riedler's 2nd URL regex
Java 8
why did I make this?
Submitted by
Riedler
-
a year ago
0
Martch Letras y Parentesis
Java 8
Martch Letras y Parentesis
Submitted by
Daniel Gonzalez
-
a year ago
0
JabRef biblatex alphabetic adaption
Java 8
A regex used to emulate the biblatex alphabetic citation key style in JabRef: https://discourse.jabref.org/t/use-field-markers-in-regex-for-citation-key-generator/3842
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
catch inner element
Java 8
working regex for any
Submitted by
anonymous
-
a year ago
0
detect inner function with recursiion
Java 8
working for all not for java
Submitted by
anonymous
-
a year ago
0
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
a year ago
0
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
a year ago
0
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
a year ago
0
Cover dates from 2009 and older in French format and English
Java 8
Covering Dates starting from year 2009 and older in French and English Some of the valid Dates format April 2nd 2008 April 2 2008 April 02 2008...
Submitted by
Francois-Alexandre Valade-Casaubon
-
a year ago
-1
Dart relative import
Java 8
find dart relative import path
Submitted by
sagarpanchal
-
a year ago
-1
Capturing groups with suffix
Java 8
Capturing the content of column names which are duplicate in nature to extract the actual name and suffix ("right" / "left")
Submitted by
anonymous
-
a year ago
-2
Ascending and Descending order
Java 8
This regex is to match Ascending or descending order of 8 digit number
Submitted by
anonymous
-
a year ago
1
...
9
10
11
匹配引号内容/match quotation mark content
-1
Regular Expression
ECMAScript (JavaScript)
/
(?<=
(?:
^
|
[^
\\
]
)
(?:
\\\\
)*
)
(
(
[
`'"
]
)
(
.
*
?
(?:
[^
\\
]
(
\\\\
)*
|
$
)
(
\2
|
$
)
)
)
/
g
Open regex in editor
Description
匹配带引号内容,被引号包含的内容
结构(
$x
)
((前引号)(内容)(后引号))
整体内容(包含引号)
前引号
内容
后引号
默认匹配
[`'"]
引号,可以在表达式的匹配2中更改
消除转义字符对引号的影响
单个有效引号会直接匹配至末尾,若不想匹配至末尾可以移除表达式尾部的
$
Submitted by
诶!你的尾巴掉了
-
a year ago
(Last modified a year ago)