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 6,000 community submitted regex patterns...
1
id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Name/Surname
ECMAScript (JavaScript)
Regex to constrain a text to have at least 2 strings. Compatible with 2nd-3rd-Nth names/surnames.
Submitted by
BigL
-
9 years ago
1
img
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
html img tag src
ECMAScript (JavaScript)
get src url from img tag in html
Submitted by
anonymous
-
9 years ago
1
check password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Valid Email
ECMAScript (JavaScript)
This is the javascript equivalent that .NET uses in their server-side validators.
Submitted by
anonymous
-
9 years ago
0
Date Validation
ECMAScript (JavaScript)
This pattern validates all the possible dates for all months in YYYY-MM-DD format. Due to limitations of regex it can not validate the dates of february for leap year. It will allow the date 29 for leap year too. Make sure to validate that yourself.
Submitted by
Ashutosh Agrawal
-
9 years ago
1
Find C# Namespace
ECMAScript (JavaScript)
Simple regex to find the Namespace line in a C# class.
Submitted by
Erik Bartlow
-
9 years ago
0
Base64 Test
ECMAScript (JavaScript)
Tests a string to see if it fits the Base64 format.
Submitted by
anonymous
-
9 years ago
0
space
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
DDDD, dd MMMM
ECMAScript (JavaScript)
Friday, 23 October
Submitted by
nehakadam
-
9 years ago
0
ipv4 address
ECMAScript (JavaScript)
no description available
Submitted by
Xiaohui Xu
-
9 years ago
0
Split by character outside quotes
ECMAScript (JavaScript)
Splits text by a character which is not inside the quotes. Example: foo:"01":"02:03":"04:05:06":"07:08:09:10" ^^^ ^^^^ ^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^
Submitted by
.iqqmuT
-
9 years ago
1
Index filtering
ECMAScript (JavaScript)
Une expression pour définir des expressions de filtrage basé sur l'index (comme les numéros de pages dans les dialogues d'impression) Chaque segment de page est séparé par une , Chaque segment peut être sous la forme : : 4 .. : 3.. .. : 2..4...
Submitted by
olivr70
-
9 years ago
-2
Validating comma delimited strings for whitespaces & extra commas
ECMAScript (JavaScript)
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-
9 years ago
1
RFC Persona Fisica
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
9 years ago
1
RFC Persona Moral
ECMAScript (JavaScript)
no description available
Submitted by
Carlos Zaragoza
-
9 years ago
1
uri validate with a prefix
ECMAScript (JavaScript)
no description available
Submitted by
Roger Wyss
-
9 years ago
1
\d{4}(0[1-9]|1[0-2])(0[1-9]|[1-2]\d|30|31)T([01]\d|2[0-3])[0-5]\d[0-5]
ECMAScript (JavaScript)
yyyymmddThhmmss
Submitted by
suman
-
9 years ago
1
user-agent tester
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
35
36
37
38
39
...
300
vehicle-registration
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?<city>
[
A
-
Z
]
{1,2}
)
(
[^
\S\r\n
]
|
-
)*
(?<letters2>
[
A
-
Z
]
){1,2}
[^
\S\r\n
]
*
(?<numbers>
[
0
-
9
]
{1,4}
)
[^
\S\r\n
]
*
(?<suffix>
E
)?
/
gm
Open regex in editor
Description
German vehicle registration signs
Submitted by
musemind
-
2 years ago