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...
3
TimezoneOffset
ECMAScript (JavaScript)
parses timezones in the format -08:00 or -8:0
Submitted by
Neha Kadam
-
10 years ago
3
URL with matching categories
PCRE (PHP <7.3)
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
10 years ago
3
Smart Target Blank
ECMAScript (JavaScript)
Allow you to check if the JavaScript location.pathname is a link required adding a target="_blank".
Submitted by
Bruno Lesieur
-
10 years ago
3
Request mask idea
ECMAScript (JavaScript)
Do you like apis and nodejs as I do?, then this must be for you, have you noticed that all the famous apis have a common functionality? the ability to request partial responses with masks, so if you have a friend list you may want to return only a few fields you know just in case. You will end up re...
Submitted by
Marco Villarreal<erick.slayer.m.v@gmail.com>
-
10 years ago
3
PL Phone number
PCRE (PHP <7.3)
PL Phone number
Submitted by
Dawid
-
10 years ago
3
javascript regex ftp directory list
ECMAScript (JavaScript)
javascript regex ftp directory list
Submitted by
anonymous
-
10 years ago
3
UK TEL
ECMAScript (JavaScript)
UK Telephone Number REGEX no () and no spaces
Submitted by
\JOLLY
-
10 years ago
3
Cisco ASA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Italian ZIP code (CAP)
ECMAScript (JavaScript)
Codice avviamento postale Italiano (ZIP)
Submitted by
Italo
-
9 years ago
3
@font-face stuff
PCRE (PHP <7.3)
bits and pieces of reusable replacements in CSS @font-face rules
Submitted by
mroncetwice
-
9 years ago
3
sql: insert into
PCRE (PHP <7.3)
insert into (a,b,c) values (1,2.3,"test");
Submitted by
suat erenler - sua.gen.tr
-
9 years ago
3
hj
PCRE (PHP <7.3)
hj
Submitted by
hj
-
9 years ago
3
Match a URL from a text message
ECMAScript (JavaScript)
I use this to match the first url present in a text message.
Submitted by
anonymous
-
9 years ago
3
currency
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Currencies
PCRE (PHP <7.3)
Matches numbers formatted like currencies
Submitted by
elgehelge
-
9 years ago
3
Forum user validation
PCRE (PHP <7.3)
Pedro al DAMS
Submitted by
giacomo
-
9 years ago
3
Nombres 4 chiffres
PCRE (PHP <7.3)
Nombres 4 chifres
Submitted by
EA
-
9 years ago
3
Shortcode parser
PCRE (PHP <7.3)
Parse shortcodes, its attributes values and html
Submitted by
anonymous
-
9 years ago
3
Arrow function to Normal function
ECMAScript (JavaScript)
Convert Arrow Function to Normal Function
Submitted by
Abhisek Pattnaik
-
9 years ago
3
SemVer chain parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
888
889
890
891
892
...
902
Community Library Entry
3
Regular Expression
PCRE (PHP <7.3)
/
^
(?:
[
\+
]
{1}
)?
(?:
\(
[
0
-
9
]
{1,2}
\)
?
)?
(?:
[
0
-
9
]
?
-
?
){6,14}
[
0
-
9
]
$
/
gmi
Open regex in editor
Description
no description available
Submitted by
devsolarte@gmail.com
-
9 years ago