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,000 community submitted regex patterns...
1
pure url and uri
ECMAScript (JavaScript)
no description available
Submitted by
Thiago Souza
-
9 years ago
1
Simple Telephone number regex
PCRE (PHP <7.3)
It accepts phone numbers of the form 0XX XXX XX XX (stylized here, it doesn't really accept spaces). Also, it can detect the international area code (e.g. +41 OR 0041 for Switzerland). It's not a good idea to rely on the groups (because they do not work for this reason. At ALL.
Submitted by
Adowrath
-
9 years ago
1
Search tags "a" and get link and text from tags
PCRE (PHP <7.3)
Search group "link=>text" in tags "a"
Submitted by
Andy
-
9 years ago
1
Email Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
OpenSSL certificates ASCII match all in chain
PCRE (PHP <7.3)
Match all certificate in a chain from a OpenSSL s_client output. Need for this come from a script that should be able to verify the root CA of a URL.
Submitted by
Evgeni Simeonov
-
9 years ago
1
Valida RFC mexicano
PCRE (PHP <7.3)
valida el formato del registro federal de contribuyentes de México.
Submitted by
Rogelio
-
9 years ago
1
Search regex
PCRE (PHP <7.3)
/** this regex should match most cases where the user forgets to put an operator somewhere and add an OR, it still does not handle nested square brackets but those are invalid anyways this page has an explanation https://regex101.com/r/fF7wO1/2 * the way this regex grabs conflicting matches is b...
Submitted by
warnock
-
9 years ago
1
Email Validator
Python
Email validator from http://haacked.com/archive/2007/08/21/i-knew-how-to-validate-an-email-address-until-i.aspx/
Submitted by
anonymous
-
9 years ago
1
count occurence of comma
PCRE (PHP <7.3)
no description available
Submitted by
Kevin H
-
9 years ago
1
text beetween <<>>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
exemplo-flex-2
Python
no description available
Submitted by
anonymous
-
9 years ago
1
starts with abc, has 123 and ends with xyz
PCRE (PHP <7.3)
#starts with abc, has 123 and ends with xyz abc123xyz
Submitted by
Kifah
-
9 years ago
1
Cartão de cidadão / BI
ECMAScript (JavaScript)
no description available
Submitted by
David Serrano
-
9 years ago
1
10 digits
ECMAScript (JavaScript)
10 digits
Submitted by
anonymous
-
9 years ago
1
UID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Password validation
PCRE (PHP <7.3)
Check if the string has a minimum of 6 characters, at least 1 upper case char, at least 1 lower case char and at least 1 number with no spaces.
Submitted by
Webchef.de
-
9 years ago
1
geolocation coordinates string
PCRE (PHP <7.3)
Matches a geolocation coordinates string consisting of latitude and longitude separated by a comma with up to 7 decimal places precision.
Submitted by
Steve Piercy
-
9 years ago
1
UK Postcode checker
Python
Matches more thoroughly than others in the library. Based on http://stackoverflow.com/questions/164979/uk-postcode-regex-comprehensive. Matches: W1A 1AA, WC2H 7LT, SE50EG
Submitted by
spookypeanut
-
9 years ago
1
Oracle Stored Procedure Name Validator
ECMAScript (JavaScript)
Validates valid Oracle Stored Procedure names
Submitted by
anonymous
-
9 years ago
1
Smoke Detector Regex
Python
Parses Smokey messages
Submitted by
Eyeballcode
-
9 years ago
1
...
59
60
61
62
63
...
900
Community Library Entry
0
Regular Expression
Python
r"
\d
{4}
-
\d
{2}
-
\d
{2}
\s\d
{2}
:
\d
{2}
:
\d
{2}
,
\d
{3}
\s
INFO
\s
+
THOUGHTS:
(
.
*
?
)
(?=
\d
{4}
-
\d
{2}
-
\d
{2}
\s\d
{2}
:
\d
{2}
:
\d
{2}
,
\d
{3}
\s
INFO
\s
+
THOUGHTS:
)
"
gms
Open regex in editor
Description
auto-gpt-THOUGHTS block
Submitted by
anonymous
-
2 years ago