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 120 community submitted regex patterns...
0
篩選MP Log Day
.NET 7.0 (C#)
篩選MP Log Day
Submitted by
anonymous
-
2 years ago
0
Migrate infoboxes in AWB: Music phase 2
.NET 7.0 (C#)
Remove deprecated parameters
Submitted by
anonymous
-
2 years ago
0
Migrate infoboxes in AWB: Music phase 3
.NET 7.0 (C#)
Insert "|tracks=" before the first occurrence
Submitted by
anonymous
-
2 years ago
0
Migrate infoboxes in AWB: Music phase 1
.NET 7.0 (C#)
Turn comma separated values in three deprecated parameters into template calls. (timestamp not considered yet)
Submitted by
anonymous
-
2 years ago
0
NDC
.NET 7.0 (C#)
parses all valid NDC codes with or without hyphens
Submitted by
joe.cox@fortyau.com
-
2 years ago
0
List of email validation
.NET 7.0 (C#)
Validate a list of emails separated by a semicolon. Supports emails with accents and other alphabets. Valid email: Abc@example.com;Abc.123@example.com;user+mailbox/department=shipping@example.com;éüöä^0@émäil.côm !#$%&'*+-/=?^_`.{|}~@example.com;"Abc@def"@example.com;"Fred Bloggs"@example.com;"Joe.\...
Submitted by
Mib
-
2 years ago
0
Script Tag Json
.NET 7.0 (C#)
asd
Submitted by
anonymous
-
2 years ago
0
gubas2549-knju@force.com
.NET 7.0 (C#)
gubas2549-knju@force.com
Submitted by
Welcome to Gboard clipboard, any text you copy will be saved here.
-
2 years ago
0
Наличие слова без учета регистра в тексте
.NET 7.0 (C#)
Наличие слова без учета регистра в тексте
Submitted by
anonymous
-
2 years ago
3
Match any layer bracket pair (.NET)
.NET 7.0 (C#)
Match any layer bracket pair
Submitted by
Yakumo Yukari
-
3 years ago
0
Name and ID in curly braces
.NET 7.0 (C#)
For a string that starts with '{' and ends with '}' looks for a name and id value within the curly braces. The name group should be trimmed when used to remove leading and trailing whitespace. Ex. {Test10} will result in 2 groups being returned Group 1: Test Group 2: 10
Submitted by
Ryan Felton
-
3 years ago
4
C# Regex Extract/Match Nested HTML Elements/Tags
.NET 7.0 (C#)
With this C# regex, you can easily match/Parse Nested HTML tags. Example input: someTitle ...
Submitted by
w4po
-
3 years ago
(Last modified a year ago)
0
ListOfSourcesSeparatedBySpaces
.NET 7.0 (C#)
A list of sources like accepted by the CSP:frame-ancestors header, plus the keywords of the X-Frame-Options header for some backward compatibility
Submitted by
anonymous
-
5 years ago
(Last modified 5 months ago)
0
Remove CDATA tags
.NET 7.0 (C#)
no description available
Submitted by
anonymous
-
7 years ago
(Last modified a year ago)
1
Chercher un Prénom ou un Nom
.NET 7.0 (C#)
no description available
Submitted by
anonymous
-
8 years ago
(Last modified a year ago)
1
...
4
5
6
匹配引号内容/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)