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,020 community submitted regex patterns...
0
Phone Number Extraction
PCRE (PHP <7.3)
US numbers only
Submitted by
codedude
-
9 years ago
0
phone valid
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Phone numbers
PCRE (PHP <7.3)
PHP
Submitted by
anonymous
-
9 years ago
0
Phone validate
ECMAScript (JavaScript)
Validate Phone number even if contain country code
Submitted by
Jorge Cervantes
-
9 years ago
0
Facebook url regex
PCRE (PHP <7.3)
no description available
Submitted by
Devs Devaras
-
9 years ago
0
add colon between hours and minutes to time (24h system)
PCRE (PHP <7.3)
This expression converts any 3- or 4 digit timevalue to a value with colon between hours and minutes. So 345 is converted to 3:45 and 1500 is converted to 15:00
Submitted by
Patrick Sinke
-
9 years ago
0
Nickname
PCRE (PHP <7.3)
Nickname validation. Only: letters _ One line. Tested with RoR
Submitted by
Paramoshkin Andrew
-
9 years ago
0
Match HTTP error code
Python
no description available
Submitted by
anonymous
-
9 years ago
0
/[a-f0-9]{8}(?:-[a-f0-9]{4}){3}-[a-f0-9]{12}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
url and path match with or without http|https
PCRE (PHP <7.3)
this is the most perfect pattern I reach for url with query or anchor
Submitted by
Gehad Mohamed
-
9 years ago
0
Registration Email Address
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
IP V4 with leading zero values
PCRE (PHP <7.3)
no description available
Submitted by
shA.t
-
9 years ago
0
SQL: insert into
PCRE (PHP <7.3)
insert[\s]+into[\s]+\([\s](?.?)[\s]\)[\s]+values[\s]+\((?.?)[\s]*\);
Submitted by
suat erenler
-
9 years ago
0
full split URL by domain, path, params
ECMAScript (JavaScript)
no description available
Submitted by
memboc
-
9 years ago
0
Remove XML-Style Comments (JavaScript)
ECMAScript (JavaScript)
Exist a problem with simple regex in JS Solution from: https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9781449327453/ch09s10.html
Submitted by
Arkadiusz Sawicz
-
9 years ago
0
List of EmailAddresses
ECMAScript (JavaScript)
List of EmailAddresses optionally allowing with personal i.e. "Personal Name "
Submitted by
anonymous
-
9 years ago
0
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Square_Brackets
ECMAScript (JavaScript)
no description available
Submitted by
Connor Goddard
-
9 years ago
0
negative lookbehind
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match links in html
PCRE (PHP <7.3)
Matches all from
Submitted by
anonymous
-
9 years ago
0
DateTime: yyyy-M-d-HH-mm-ss (.NET)
PCRE (PHP <7.3)
Validates DateTime in format 'yyyy-M-d-HH-mm-ss'(.NET) in mind with possible zeros, minimal values, maximal values and infinite year
Submitted by
CryoCZ
-
9 years ago
1
...
32
33
34
35
36
...
901
Community Library Entry
1
Regular Expression
Python
r"
(
[
0
-
9
]
{2}
:
){3}
[
0
-
9
]
{2}
"
g
Open regex in editor
Description
Regex to match standard timecode format. (Updated with fewer groups).
Submitted by
Travis
-
9 years ago