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 5,840 community submitted regex patterns...
-1
Phone number validator
Python
Validates all possible international phone number formats. Icludes almoust all of the international call prefixes, all of the differing lenghts of country codes. The parts of number will always be recognised correctly. Additionally you could add limitations of the phone number's lenght
Submitted by
Ādams Muzikants
-
9 years ago
-1
localhost match range ip with port number
Python
Matches all ips that points to localhost like, optionally capturing port number: 127.X.X.X and 127.X.X.X:
Submitted by
Rodrigo M. A.
-
9 years ago
-1
شش
Python
no description available
Submitted by
anonymous
-
9 years ago
-1
Australian local and international mobile validation
ECMAScript (JavaScript)
no description available
Submitted by
Damien Capocchi
-
9 years ago
-1
Replace comma separated decimals (comma instead of point)
ECMAScript (JavaScript)
Matches, line by line, a comma separated list of decimal numbers with comma as decimal character (Spanish way) Produces a list of comma separated pairs (space separated innermost) of decimal numbers with point as decimal character (English way)
Submitted by
Bruno A. Castro
-
9 years ago
-1
emoticon
Python
no description available
Submitted by
Victor Huang
-
9 years ago
-1
DD/MM/YYYY
ECMAScript (JavaScript)
no description available
Submitted by
nehakadam
-
9 years ago
-1
Only letters without numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-1
Arabic AlphaNumeric
ECMAScript (JavaScript)
Arabic AlphaNumeric text
Submitted by
Ahmed
-
9 years ago
-1
Sri Lankan NIC Regex
ECMAScript (JavaScript)
Regular Expression to validate NIC of Sri lankna (National Identity Card)
Submitted by
Sithira Munasinghe
-
8 years ago
-1
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
3 years ago
-2
example
Python
match
Submitted by
anonymous
-
10 years ago
-2
eee
Python
no description available
Submitted by
anonymous
-
10 years ago
-2
I need some one to generate an regexp please
ECMAScript (JavaScript)
I need regular expression for the string WC_AUTHENTICATION_1343459084. Here WC_AUTHENTICATION_ remains fixed and the number keeps changing. I have written the below logic. var re = new RegExp('[; ]'+"WC_PERSISTENT"+'[0-9]'); Please help
Submitted by
Sanuvimal.Mohan@target.com
-
10 years ago
-2
S3 log analysis
ECMAScript (JavaScript)
An updated S3 log analyzer. I found that my logs sometimes had strings quoted, so I needed to add possible handling for that.
Submitted by
Matt Ingenthron <ingenthr@cep.net>
-
10 years ago
-2
Username
ECMAScript (JavaScript)
^[_a-zA-Z0-9]+$ how to make regex username with underscore. i'm using c# but this regex isn't working.
Submitted by
anonymous
-
10 years ago
-2
Any telephone number with region and country in any format
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
9 years ago
-2
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
9 years ago
-2
cron expression
ECMAScript (JavaScript)
This is a relaxed cron validation, meaning that any valid cron expression should pass this; but not anything that passes regex validation is a good cron expression. Used as preliminary validation in web ui. Supports all special characters. Includes seconds field.
Submitted by
enlait
-
9 years ago
-2
UK (Europe) DateTime
ECMAScript (JavaScript)
Validates input to match UK Date Time standard
Submitted by
Bascoder
-
9 years ago
1
...
118
119
120
121
122
...
292
Community Library Entry
-2
Regular Expression
ECMAScript (JavaScript)
/
(
[
\d
\(
]
[
\(\)
\s
\.\-
\d
]
{4,}
\d
)
/
g
Open regex in editor
Description
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
9 years ago