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...
1
tags
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Thai mobile phone
PCRE (PHP <7.3)
Start with 0 and the second character is 6|8|9 Thai mobile phone number up to 10
Submitted by
anonymous
-
8 years ago
1
Date - Extract & Validate - Fully tested - Format YYYY-MM-DD (dynamic parts separator / can use a different separator)
ECMAScript (JavaScript)
A fully tested regex that extracts and validates date parts using named capturing groups. \ Validations: Year must be preceded by nothing or a non-digit character...
Submitted by
Elie Grenon (DrunkenPoney) <elie.grenon.1@gmail.com>
-
4 years ago
1
Matching decimals in european format (dot as grouping separator, comma as decimal separator)
Java 8
A regex for validating decimal numbers in the European number format (in many parts of Europe at least, including Germany). A comma is used as a separator for the decimal number, a dot as a separator for thousand places.
Submitted by
Florian Drees
-
4 years ago
(Last modified 4 years ago)
1
Test expression
PCRE2 (PHP >=7.3)
To find at most 3 a in string
Submitted by
anonymous
-
3 years ago
1
PHP North American Phone Number
PCRE2 (PHP >=7.3)
Format phone numbers to look nice! E.g. 12345678900 --> +1(234)-567-8900 Matches with most ways numbers are stored 1.234.567.8900 1 234 567 8900...
Submitted by
Mendel Groner
-
3 years ago
1
tiktok video id
ECMAScript (JavaScript)
get tiktok video id https://m.tiktok.com/h5/share/usr/6641141594707361797.html https://m.tiktok.com/v/6749869095467945218.html https://www.tiktok.com/@cchelseam..eow/video/6751181801206729990 https://www.tiktok.com/embed/6567659045795758085...
Submitted by
threedot
-
2 years ago
1
<input type="week" /> pattern
ECMAScript (JavaScript)
As 'week' input doesn't have a [pattern] attribute, you can check its value with this RegExp. Does not check if the given year has 52 or 53 weeks.
Submitted by
Ann MB
-
3 years ago
(Last modified 3 years ago)
1
<input type="datetime-local" /> pattern
ECMAScript (JavaScript)
As 'datetime-local' input doesn't have a [pattern] attribute, you can check its value with this RegExp. Does not check if the given day corresponds to its month . Ex : 2019-02-30 will be considered as correct
Submitted by
Ann MB
-
3 years ago
(Last modified 3 years ago)
1
<input type="date" /> pattern
ECMAScript (JavaScript)
As 'date' input doesn't have a [pattern] attribute, you can check its value with this RegExp. Does not check if the given day corresponds to its month. Ex : 1989-03-30 will be considered as correct
Submitted by
Ann MB
-
3 years ago
(Last modified 3 years ago)
1
<input type="time" /> pattern
ECMAScript (JavaScript)
As 'time' input doesn't have a [pattern] attribute, you can check its value with this RegExp. You must provide hours and minutes. Seconds and milliseconds are optional. To "activate" seconds on the input, give it the step="" attribute with a number reprensenting the incrementation in seconds....
Submitted by
Ann MB
-
3 years ago
(Last modified 3 years ago)
1
<input type="number" /> pattern
ECMAScript (JavaScript)
As 'number' is not implemented by all browsers, you can check your value with this RegExp.
Submitted by
Ann MB
-
3 years ago
(Last modified 3 years ago)
1
Password - mot de passe
PCRE2 (PHP >=7.3)
1 caractère minuscule minimum 1 caractère majuscule minimum 1 chiffre minimum 1 caractère spécial minimum pas d'espace 8 caractères minimum en tout
Submitted by
Sofiane
-
2 years ago
1
Decimal (with dot)
ECMAScript (JavaScript)
Decimal with a dot, if has a dot it needs a number following it
Submitted by
anonymous
-
3 years ago
1
Türkiye Telefon Numarası Kontrolü
ECMAScript (JavaScript)
Türkiye'nin mobil telefonlarının desenini kontrol eder. Örneğin; 555-123-45-67 0 555 123 45 67 +905551234567...
Submitted by
Furkan Rehber
-
3 years ago
1
Match each Unicode Characters, Symbols, and Emojis consecutively
ECMAScript (JavaScript)
RegExp matches each (combined) Unicode symbol, character, or emoji consecutively. Note: there are some edge cases where it does not combine some symbols that should be seen as one symbol (after Default Grapheme Cluster Boundary of UAX #29). For Unicode code point info see codepoints.net Also, see ...
Submitted by
MAZ01001
-
a year ago
1
Test 1 solution
PCRE2 (PHP >=7.3)
thanks
Submitted by
Zeeble Dorp
-
7 months ago
1
Exponential Value Identification
PCRE2 (PHP >=7.3)
Exponential Value Identification
Submitted by
Nimit Bhagat
-
5 months ago
1
Anom
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
bridal quality
PCRE (PHP <7.3)
no description available
Submitted by
mine
-
11 years ago
1
...
65
66
67
68
69
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
\(
\d
+
,
\d
+
,'
[
\d\w
]
+
',
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
\)
)
(
,
(
\(
\d
+
,
\d
+
,'
[
\d\w
]
+
',
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
\)
)
|
,{,1}
)*
$
/
gms
Open regex in editor
Description
no description available
Submitted by
MelRight
-
11 years ago