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 4,480 community submitted regex patterns...
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
-
a year 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
-
a year ago
0
匹配代码块
PCRE2 (PHP >=7.3)
用来匹配markdown里面的代码块
Submitted by
anonymous
-
a year ago
0
last last name wo suffix1
Python
last last name wo suffix1
Submitted by
josh
-
a year ago
0
Bematech regex
PCRE2 (PHP >=7.3)
https://///
Submitted by
anonymous
-
a year ago
0
match ipv4 dynamic add
Python
match ipv4 dynamic add
Submitted by
anonymous
-
a year ago
0
Kaspersky Update Domains
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from DNS logging
Submitted by
kernelmustard
-
a year ago
(Last modified a year 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
-
a year ago
(Last modified a year ago)
0
ESET LiveGrid reputation database (DNS)
PCRE2 (PHP >=7.3)
Match ESET LiveGrid reputation database domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
ESET Threat Lab domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Threat Lab domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
varnish
PCRE2 (PHP >=7.3)
varnish config
Submitted by
anonymous
-
a year ago
0
scriptpak №1
Python
scriptpak №1
Submitted by
anonymous
-
a year ago
0
ESET Password Manager domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Password Manager domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
ESET Mail Security Antispam module domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Mail Security Antispam module domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
ESET Mobile Security activation URI (HTTP)
PCRE2 (PHP >=7.3)
Match the ESET Mobile Security activation URI for exclusion from HTTP logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
IP address validation
PCRE2 (PHP >=7.3)
IP address validation
Submitted by
anonymous
-
a year ago
0
Auto sentence capitalization
PCRE2 (PHP >=7.3)
only works in implementations with \U
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Match XML Comment
PCRE2 (PHP >=7.3)
Match any XML comment in an XML Document
Submitted by
Anthony Bateman
-
a year ago
0
Special character finder
PCRE2 (PHP >=7.3)
yep
Submitted by
anonymous
-
a year ago
0
001~999之间的整数
Python
匹配001~999之间的整数
Submitted by
jgx
-
a year ago
1
...
219
220
221
222
223
224
ECMAScript/JavaScript trim
106
Regular Expression
ECMAScript (JavaScript)
/
^
[
\s
]
*
(
.
*
?
)
[
\s
]
*
$
/
Open regex in editor
Description
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified a month ago)