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
<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
Parse Data Fields
Python
Parsing example
Submitted by
anonymous
-
3 years ago
1
Anything sorounded by " "
ECMAScript (JavaScript)
Match anything inside double quote string and set the first capture group with the content
Submitted by
anonymous
-
3 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
Expresión regular para encontrar enlaces de video de Youtube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones similares a los enlaces de video de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
Expresión regular para validar enlaces de videos embebidos de YouTube y Vimeo
PCRE2 (PHP >=7.3)
Detecta los patrones para enlaces de videos embebidos de YouTube y Vimeo
Submitted by
anonymous
-
3 years ago
1
order by field and direction
PCRE2 (PHP >=7.3)
order by field and direction
Submitted by
anonymous
-
3 years ago
1
sha512 - letters and numbers, without special characters. length 512
PCRE2 (PHP >=7.3)
Just capital letters and numbers, without special characters. String length 512
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
just number and String length 30
PCRE2 (PHP >=7.3)
just number and String length 30
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)
1
Rick Roll
Java 8
Matches chorus of Never Going to Give You Up
Submitted by
Stephen Battista
-
3 years ago
1
HTML body tokenize
PCRE2 (PHP >=7.3)
Tokenize before do other process. We can adapt to use for header tag.
Submitted by
Jakk
-
3 years ago
(Last modified 3 years ago)
1
Telegram Markdown Escaping Backslashed asterisks
ECMAScript (JavaScript)
Telegram Markdown V2's bold (`) can be escaped by using \`. RegExp to validate it and get the actual contents inside.
Submitted by
dcdunkan
-
3 years ago
1
Titanic Kaggle - Remove ticket prefix to get number
PCRE2 (PHP >=7.3)
Removes the prefix leaving just the ticket number
Submitted by
anonymous
-
3 years ago
1
ds100reg4
PCRE (PHP <7.3)
Data 100 Regular Expression 4, adapted from Princeton
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
ds100reg2
Python
Data 100 Regular Expressions, adapted from Princeton
Submitted by
anonymous
-
3 years ago
1
Get domain name from URL
Python
Get domain name from URL
Submitted by
anonymous
-
3 years ago
1
Extract time from text
Python
Extract time from text
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
1
...
799
800
801
802
803
...
902
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
[
0
-
9a
-
fA
-
F
]
{512}
$
/
gm
Open regex in editor
Description
Just capital
letters and numbers
,
without special characters
. String length 512
Submitted by
Pooya Parsa Dadashi(@datamweb)
-
3 years ago
(Last modified 3 years ago)