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 12,840 community submitted regex patterns...
1
Spanish NIE / NIF Validator
ECMAScript (JavaScript)
no description available
Submitted by
Gauravity
-
9 years ago
1
match arguments similar to shell, supports quoted string
ECMAScript (JavaScript)
first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.
Submitted by
anonymous
-
9 years ago
1
Uppercase words
ECMAScript (JavaScript)
no description available
Submitted by
MaaxZoom
-
9 years ago
1
periodic-digit-numbers
PCRE (PHP <7.3)
no description available
Submitted by
Wolf
-
9 years ago
1
AD Default Password Policy
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Only return what's between the brackets i.e. (a)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Labels with version numbers
PCRE (PHP <7.3)
Quick studty of labels with version numbers
Submitted by
LC
-
9 years ago
1
E-Mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Number 0-100, 2 decimals
PCRE (PHP <7.3)
A number between 0 and 100 (including them) with up to two decimals. The decimal separator can be . or , . Usefull for percentage.
Submitted by
anonymous
-
9 years ago
1
CEDICT Chinese dictionary line parts
PCRE (PHP <7.3)
Matches the four parts (simplified, traditional, pinyin, definition) of a CEDICT dictionary line
Submitted by
Hugh Grigg
-
9 years ago
1
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
^(?:0814|0815|0816|0855|0856\d|0857\d|0858\d|0859\d|0[^08]\d)\d{6,9}$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Validador de Data (MMddYYYY e YYYYMMdd)
ECMAScript (JavaScript)
Verifica se o texto digitado corresponde a um formato de data valida por expl. 12/31/2015 ou 2015/12/31
Submitted by
Gustavo Américo (Gag)
-
9 years ago
1
Less number variables to dictionary
PCRE (PHP <7.3)
extract keys and values from .less variables
Submitted by
actarian
-
9 years ago
1
Check if number is a float
ECMAScript (JavaScript)
no description available
Submitted by
@hiaru
-
9 years ago
1
ReGEX EXPression
ECMAScript (JavaScript)
ReGEX EXPression generating Values but repeating want values should not repeat.
Submitted by
anonymous
-
9 years ago
1
Find a select or select top in a query
ECMAScript (JavaScript)
Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.
Submitted by
Diego Troitiño
-
9 years ago
1
russian phone number hard validation (multiformat)
PCRE (PHP <7.3)
Supported formats (mobile): +7(xxx)xxx xxxx +7(xxx)xxxxxxx +7(xxx)xxx-xx-xx +7(xxx)xxx xx xx +7 xxx xxx xx xx...
Submitted by
Redfern.89
-
9 years ago
1
Valid date ddMMyyyy + .zip extension
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
CVE descriptors
PCRE (PHP <7.3)
no description available
Submitted by
Noir
-
9 years ago
1
...
597
598
599
600
601
...
642
Extract times from a string
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
0
-
9
]
{1,2}
:
?
(?:
[
0
-
9
]
{2}
)?
)
-
(
[
0
-
9
]
{1,2}
:
?
(?:
[
0
-
9
]
{2}
)?
)
\s
(
AM
|
PM
)
/
ig
Open regex in editor
Description
I use this to extract and later calculate the difference between two times.
Submitted by
Ernie C.
-
9 years ago