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...
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
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
10 years ago
3
^.*(\/Summary\/).*(chelaxe\.ru).*$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
How do I write a Regex to inspect Cisco Interfaces
PCRE (PHP <7.3)
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEtherne...
Submitted by
Pirates
-
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
Test a string against CamelCase
ECMAScript (JavaScript)
See if a string is in CamelCase format
Submitted by
Tonny Xu
-
10 years ago
3
PL Phone number
PCRE (PHP <7.3)
PL Phone number
Submitted by
Dawid
-
10 years ago
3
@media query tokenizer
ECMAScript (JavaScript)
Separates media query into rule and content
Submitted by
Stephan --> CTS_AE
-
10 years ago
3
white space before punctuations, outside script and code tags
PCRE (PHP <7.3)
white space before punctuations, outside script and code tags
Submitted by
ced
-
10 years ago
3
phone
Python
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
-
10 years ago
3
split sentence regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
images url match in text
PCRE (PHP <7.3)
no description available
Submitted by
Redfern.89
-
9 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
3
Div content
PCRE (PHP <7.3)
no description available
Submitted by
mohammadsaleh
-
9 years ago
3
javascript regex ftp directory list
ECMAScript (JavaScript)
javascript regex ftp directory list
Submitted by
anonymous
-
9 years ago
3
UK TEL
ECMAScript (JavaScript)
UK Telephone Number REGEX no () and no spaces
Submitted by
\JOLLY
-
9 years ago
3
Cisco ASA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
3
Italian VAT (IVA)
ECMAScript (JavaScript)
Italian VAT
Submitted by
Italo
-
9 years ago
3
Italian ZIP code (CAP)
ECMAScript (JavaScript)
Codice avviamento postale Italiano (ZIP)
Submitted by
Italo
-
9 years ago
3
Social Security Number (SSN)
ECMAScript (JavaScript)
tests for valid social security numbers according to the social security administration. more specifically: -disallows a group to have all 0s -disallows first group to have all 6s -disallows a ssn to begin with 9 note that this does not test for issued ssn's. that would be impossible to implement h...
Submitted by
noxToken
-
9 years ago
1
...
882
883
884
885
886
...
901
Community Library Entry
3
Regular Expression
PCRE (PHP <7.3)
/
(?<time>
\w
{3}
\w
{3}
\d
{2}
\d
{2}
:
\d
{2}
:
\d
{2}
\d
{4}
)
(?<xferTime>
\d
*
)
(?<remoteHost>
\b\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\.
\d
{1,3}
\b
)
(?<fileSize>
\d
*
)
(?<fileName>
\S
*
)