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 18,040 community submitted regex patterns...
0
Pull Quote regex
PCRE2 (PHP >=7.3)
Get quote text and author
Submitted by
sunilP
-
2 years ago
0
APA Citation v1
Java 8
Parse APA v7 citations
Submitted by
mathias v
-
2 years ago
0
Java RegEx Group Test
Java 8
Test
Submitted by
anonymous
-
2 years ago
0
Java RegExMatch Example
Java 8
This is an example for stackoverflow
Submitted by
anonymous
-
2 years ago
0
Basic Git pull request title validator
PCRE2 (PHP >=7.3)
Validates that there an optional [WIP] followed by a bracketed ticket number, PIDSS-n*, a space, and a string beginning with an uppercase character.
Submitted by
David E Nedrow
-
2 years ago
0
Groups / pb
PCRE2 (PHP >=7.3)
Trying to get groups to work in PB CreateRegularExpression(0,"^FWD:\[(?[0-9]{4})\] (?.+\.exe): (?.*)$") x$ = "FWD:[1234] something else.exe: a bunch of text" If MatchRegularExpression(0,x$)...
Submitted by
anonymous
-
2 years ago
0
URL Validation
.NET 7.0 (C#)
Can be used to validate on URL's.
Submitted by
anonymous
-
2 years ago
0
匹配代码块
PCRE2 (PHP >=7.3)
用来匹配markdown里面的代码块
Submitted by
anonymous
-
2 years ago
0
last last name wo suffix1
Python
last last name wo suffix1
Submitted by
josh
-
2 years ago
0
Bematech regex
PCRE2 (PHP >=7.3)
https://///
Submitted by
anonymous
-
2 years ago
-1
Iranian Mobile Numbers
PCRE2 (PHP >=7.3)
To Validate Iranian Operators Number Validation
Submitted by
AMAISGOD
-
2 years ago
0
匹配任何小数,小数点后不保留0
ECMAScript (JavaScript)
匹配任何小数,小数点后不保留0
Submitted by
anonymous
-
2 years ago
-1
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
2 years ago
0
match ipv4 dynamic add
Python
match ipv4 dynamic add
Submitted by
anonymous
-
2 years ago
0
Kaspersky Update Domains
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from DNS logging
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
-1
Kaspersky update domains (TLS)
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from TLS logging
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
-1
Kaspersky update servers
PCRE2 (PHP >=7.3)
Match Kaspersky update servers for exclusion from HTTP logging
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
-1
WIndows update domains (DNS)
PCRE2 (PHP >=7.3)
Match Windows Update domains for exclusion from DNS logging
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
-1
ESET Detection Engine update servers (DNS)
PCRE2 (PHP >=7.3)
Match domains of ESET Detection Engine update servers for exclusion from DNS logs
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
0
ESET Secure Authentication Provisioning Server (DNS)
PCRE2 (PHP >=7.3)
Match domains of ESET Secure Authentication Provisioning Server for exclusion from DNS logs
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
1
...
894
895
896
897
898
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(?:
(?:
\/\/
)
|
(?:
\/\*
)
|
(?:
<!--
)
)?
(?:
[
\s
]
*
?
#region
)
(?:
(
[
\s\S
]
*
?
)
(?:
(?:
[
\s
]
*
?
\*\/
)
|
(?:
-->
)
)?
[
\n\r
]
)
(
[
\s\S
]
*
?
)
(?:
(?:
\/\/
\s
*
?
)
|
(?:
\/\*
)
|
(?:
<!--
)
)?
(?:
[
\s
]
*
?
#endregion
)
(?:
[
\s\S
]
*
?
[
\n\r
]
)
(?:
[
\s\S
]
*
?
)
(?:
(?:
-->
)
|
(?:
\*\/
)?
)
/
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago