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 17,920 community submitted regex patterns...
1
If a line seems valid phone number, change to common format
PCRE (PHP <7.3)
Let's say a phone number is valid in case it has 11 digits (or 13 in case we use 00 instead of + ). Take those lines to common format. original idea was to remove all non-digit characters from those lines with simple match like but combined with look-ahead it just did not work, had to go through ea...
Submitted by
zolo
-
9 years ago
1
RGBA color values and opacity matcher
ECMAScript (JavaScript)
Regex to match R-G-B and Opacity with/without "," and even RGBA text It will match rgba(x,x,x,x.x) rgba (x x X x.x) x,x,x,x.x x x x x.x...
Submitted by
Maulik Soni
-
9 years ago
1
Lookahead phone test with formatting
PCRE (PHP <7.3)
Let's say a phone number is valid in case it has 11 digits only (13 in case of using 00 instead of +). Separators could be anywhere. Take the valid numbers and bring to common format. Original idea was deleting all non-digits but using look-ahead made impossible to use + for remove non-digits, it ne...
Submitted by
zolo
-
9 years ago
1
#tag all languages
ECMAScript (JavaScript)
no description available
Submitted by
Farhad
-
9 years ago
1
URL matching
ECMAScript (JavaScript)
no description available
Submitted by
San
-
9 years ago
1
Wzorzec opisujÄ…cy czas w postaci 000 np 300 np 1256
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
check format to HH:MM
ECMAScript (JavaScript)
check if the format is HH:MM (00:00 is OK, 0:00 is not)
Submitted by
anonymous
-
9 years ago
1
rstp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Hex Input List
PCRE (PHP <7.3)
Match one or two digit hex values separated by a comma.
Submitted by
anonymous
-
9 years ago
1
Parse CSV fields
PCRE (PHP <7.3)
Parse an input string into fields separated by comma.
Submitted by
anonymous
-
9 years ago
1
ScoutPro data
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
java
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Test
Python
test
Submitted by
test
-
9 years ago
1
parser =
Python
no description available
Submitted by
anonymous
-
9 years ago
1
OG by Sam
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
match C# class definition
PCRE (PHP <7.3)
match C# a class definition
Submitted by
luan castro (@castrolol)
-
9 years ago
1
one deccmal point
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Sterium test
ECMAScript (JavaScript)
no description available
Submitted by
koT
-
9 years ago
1
Rubik Parser
PCRE (PHP <7.3)
extract face/slice/axis rotations, pieces, patterns and groups
Submitted by
FabioDiMonte
-
9 years ago
1
Rubik Parser (with unit tests)
ECMAScript (JavaScript)
extracts face/slice/axis rotations, pieces, patterns and groups
Submitted by
FabioDiMonte
-
9 years ago
1
...
92
93
94
95
96
...
896
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
^
(
0
[
0
-
9
]
|
1
[
0
-
9
]
|
2
[
0
-
3
]
)
:
[
0
-
5
]
[
0
-
9
]
$
/
Open regex in editor
Description
check if the format is HH:MM (00:00 is OK, 0:00 is not)
Submitted by
anonymous
-
9 years ago