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
At least 8 chars, at least a Mayus or special char & at least a number
ECMAScript (JavaScript)
no description available
Submitted by
Luis Arias :D
-
9 years ago
0
Check That User Has Input Valid YYYY
ECMAScript (JavaScript)
This simple regex checks if a user has input correct YYYY format.
Submitted by
@izotope115
-
9 years ago
0
Validates Against YYYY
ECMAScript (JavaScript)
This regex checks if a user has input 4 digit year integer.
Submitted by
@izotope115
-
9 years ago
0
ContentPlace Xml Tag
ECMAScript (JavaScript)
ContentPlace Xml Tag
Submitted by
Saeed Tabrizi
-
9 years ago
0
Regex Fecha yyyy-MM-dd
ECMAScript (JavaScript)
valida fechas de 19## a 20##, en formato yyyy-MM-dd
Submitted by
http://www.regular-expressions.info/dates.html
-
9 years ago
0
Payment process
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
get lowercase letters
ECMAScript (JavaScript)
get lowercase letters
Submitted by
jho
-
9 years ago
0
Workspaces
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Workspace case insensitive
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Phone with extension
PCRE (PHP <7.3)
no description available
Submitted by
jerndt
-
9 years ago
0
get section
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
two words with atleast one starting with digit
PCRE (PHP <7.3)
3rd Street / house 2b - pass
Submitted by
anonymous
-
9 years ago
0
MATLAB filename with brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Website url maxLength 50
ECMAScript (JavaScript)
no description available
Submitted by
Josiah
-
9 years ago
0
Match special characters excl. unicode accented, _, -, and whitespace
ECMAScript (JavaScript)
Covers Latin-1 Supplement Latin Extended-A Latin Extended-B Greek and Coptic
Submitted by
anonymous
-
9 years ago
0
Json value
PCRE (PHP <7.3)
no description available
Submitted by
kreisfahrer
-
9 years ago
0
number
ECMAScript (JavaScript)
This is for the validation of number
Submitted by
Noby nirmal
-
9 years ago
0
Del space
PCRE (PHP <7.3)
Delete speces at XML
Submitted by
E_Ch
-
9 years ago
0
JSON (In progress)
ECMAScript (JavaScript)
Regex to qoute a JSON-string
Submitted by
Lars Willighagen
-
9 years ago
0
Strings with length multiple of 3 or 5
PCRE (PHP <7.3)
Lines with length multiple of 3 or 5.
Submitted by
ismtabo
-
9 years ago
1
...
355
356
357
358
359
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
(?!
^
\/
api
\/
auth
\/
|
\/
(
favicon
|
icon
|
apple-icon
)
\.
(
ico
|
jpg
|
jpeg
|
png
|
svg
)
$
|
^
\/
(
assets
|
public
)
\/
)
.
)*
$
/
gm
Open regex in editor
Description
Next.js middleware config matcher regex
~
https://nextjs.org/docs/app/building-your-application/routing/middleware#matcher
~
https://nextjs.org/docs/app/api-reference/file-conventions/middleware#config-object-optional
Public - skip middleware
/api/auth/* /favicon.ico /assets/* /public/*
Private - use middleware
/* /api/*
Submitted by
iki
-
6 months ago