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...
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
2
calibre book parse
Python
no description available
Submitted by
anonymous
-
9 years ago
2
Match 3 Repeating Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Email Regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
WindowsUpdate.log Line Breaker
PCRE (PHP <7.3)
This regex defines the end and the beginning of a WindowsUpdate.log event.
Submitted by
Dion Pezzimenti
-
9 years ago
2
anyword plus word
ECMAScript (JavaScript)
no description available
Submitted by
7 HJ
-
9 years ago
-1
bibtex entries
Python
match bibtex entries
Submitted by
Sixue Qin
-
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
2
URI without Trailing Slash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
Java single line comment matcher
Python
This regex matches java line end comments started with "//" and ignores such ones that are within String literals. (NO SUFFICIENT TESTING WAS DONE TO GUARANTEE 100% SAFETY)
Submitted by
Janis Schöck
-
9 years ago
-1
word_to_match
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
6 Digit ID
PCRE (PHP <7.3)
Very basic. My first proper REGEX. 6 Digit ID starting with e. Must be lowercase. must start with an e (can change to another letter)
Submitted by
BejasC#
-
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
IP address
Python
Looks for string formated like an IP address.
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
2
src of img tag
ECMAScript (JavaScript)
get contents of src attribute
Submitted by
me
-
9 years ago
2
Beautiful Regex for detecting Slack URL's
PCRE (PHP <7.3)
just lovely
Submitted by
the boiz aka ben and chris
-
9 years ago
1
...
50
51
52
53
54
...
901
Community Library Entry
-1
Regular Expression
PCRE (PHP <7.3)
/
^
-
?
(
\d
+
|
\d
{1,3}
(?:
\,
\d
{3}
)+
)?
(
\.
\d
+
)?
$
/
gm
Open regex in editor
Description
Matches integers and decimals with or without thousands grouping.
Submitted by
Franz Alex Gaisie-Essifie
-
9 years ago