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 11,900 community submitted regex patterns...
0
implements Regex
PCRE2 (PHP >=7.3)
To match implements in classes
Submitted by
anonymous
-
2 years ago
0
Laravel all routes, except some
PCRE2 (PHP >=7.3)
When creating a SPA we could capture all routes except some. Needed this for Laravel Route::get('/{any?}', function () { return 'Not captured';...
Submitted by
aldo-f
-
2 years ago
0
AWS EC2 Hostname
PCRE2 (PHP >=7.3)
Validates AWS EC2 Hostnames
Submitted by
holy-moly-555
-
2 years ago
0
NextJS Compiler - reactRemoveProperties
PCRE (PHP <7.3)
Match Test Properties This regular expression is used on next.config.js and is used to remove test attributes from the production build. It filters any data attributes that starts with 'test', 'cy' or 'jest'. ...
Submitted by
Patrick Fantato <patrick@madebyon.com>
-
2 years ago
0
Date dd.mm.yyyy
PCRE2 (PHP >=7.3)
Regex for datestring validation
Submitted by
anonymous
-
2 years ago
0
Equifax street types parser
PCRE2 (PHP >=7.3)
Street types
Submitted by
anonymous
-
2 years ago
2
HTML Minifier
PCRE2 (PHP >=7.3)
https://stackoverflow.com/questions/5312349/minifying-final-html-output-using-regular-expressions-with-codeigniter Thanks to @Alan Moore
Submitted by
anonymous
-
2 years ago
0
stage build checker
PCRE2 (PHP >=7.3)
stage build checker
Submitted by
anonymous
-
2 years ago
0
estoque_bling_regex
PCRE2 (PHP >=7.3)
Regex xml stock Bling
Submitted by
Dimitri
-
2 years ago
0
Rules
PCRE2 (PHP >=7.3)
Rules
Submitted by
anonymous
-
2 years ago
0
取字母中间的数字
Java 8
获取前后各有一个数字,中间的数字
Submitted by
lemon 1900
-
2 years ago
0
删除Markdown中的标签连接
PCRE (PHP <7.3)
https://regex101.com/r/kndTMF/1
Submitted by
anonymous
-
2 years ago
0
match lines that DO NOT include "IPEL"
PCRE2 (PHP >=7.3)
As it's said in the title, use this to trim my proxy servers
Submitted by
anonymous
-
2 years ago
0
Postgresql JDBC URI
Java 8
Formats jdbc:postgresql:database jdbc:postgresql:/ jdbc:postgresql://host/database jdbc:postgresql://user:password@host/database...
Submitted by
fantabulum
-
2 years ago
0
Host Regex
PCRE2 (PHP >=7.3)
Get any hostname
Submitted by
anonymous
-
2 years ago
0
Node node_modules library exceptions
PCRE2 (PHP >=7.3)
Tests for excluding certain node_modules when
Submitted by
anonymous
-
2 years ago
0
Phone (rus)
PCRE2 (PHP >=7.3)
Russian phone number
Submitted by
anonymous
-
2 years ago
0
extended nginx log format
PCRE (PHP <7.3)
log_format timed '$http_x_forwarded_for - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http_user_agent" "$remote_addr" ' '$request_time $upstream_response_time $pipe';
Submitted by
Pei-Tang Huang
-
2 years ago
0
TESTO denro tag
PCRE2 (PHP >=7.3)
r
Submitted by
anonymous
-
2 years ago
0
Unique graphql pagination update
PCRE2 (PHP >=7.3)
Unique graphql pagination update
Submitted by
Amos
-
2 years ago
1
...
68
69
70
71
72
...
595
daily 204
1
Regular Expression
PCRE (PHP <7.3)
/
[
\w\n
;,.!'
\-
:
]
*
\n
[
A
-
Z
]
*
\.
(
[
\w\n
;,.!'
\-
:
]
*
Eye
of
newt
[
\w\n
;,.!'
\-
:
]
*
?
)
\n\n
/
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago