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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 3,600 community submitted regex patterns...
0
GET country, prefix extended
ECMAScript (JavaScript)
This regex match group (country & Prefix) Separated by spaces or \s+ ↓↓ Example ↓↓ Australia 61 Dominica 1 (767) República Dominicana 1 (809/829/849) ...
Submitted by
https://github.com/hzvvictor
-
9 months ago
(Last modified 9 months ago)
0
Sustitution of comments (one line) //
ECMAScript (JavaScript)
Sustitution of comments (one line) // Example ~ input (before) ↓↓ : // comment textplain other-text ...
Submitted by
hzvvictor: https://github.com/hzvvictor
-
9 months ago
(Last modified 9 months ago)
-3
Strict email validation
ECMAScript (JavaScript)
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
-
8 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
-
8 years ago
-1
DD/MM/YYYY
ECMAScript (JavaScript)
no description available
Submitted by
nehakadam
-
8 years ago
-1
Only letters without numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
-1
Arabic AlphaNumeric
ECMAScript (JavaScript)
Arabic AlphaNumeric text
Submitted by
Ahmed
-
8 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
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
-
9 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>
-
9 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
-
9 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
-2
Twitter Date format
ECMAScript (JavaScript)
no description available
Submitted by
hjgabrielsen
-
9 years ago
-2
twitter ids
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-
9 years ago
-2
Word ending with colon
ECMAScript (JavaScript)
no description available
Submitted by
hj
-
9 years ago
1
...
77
78
79
80
81
...
180
TX7470 and RX1
0
Regular Expression
ECMAScript (JavaScript)
/
\x19
A
(
\d
*
)
d
\[
?
(
\d
*
)?
\]
?
(
.
*
)
-
(
\S
+
)
\s
(
\d
+
)
\x0C
?
(
.
*
)?
\x18
|
\x19
A
(
\d
*
)
d
(
\S
*
)
\s
?
(
\d
*
)
\:
?
(
.
*
)
\x18
|
RECV,4,
(
\d
*
)
,
\[
?
(
\d
*
)?
\]
?
(
.
*
)
-
(
\S
+
)
\s
(
\d
+
)
\%
?
0
?
C
?
(
.
*
)?
|
RECV,4,
(
\d
*
)
,
(
\S
*
)
\s
?
(
\d
*
)
\:
?
(
.
*
)
\s
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago