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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 11,860 community submitted regex patterns...
1
extract price from text
PCRE (PHP <7.3)
no description available
Submitted by
mku
-
8 years ago
1
Line feeds to html paragraphs
PCRE (PHP <7.3)
Take the text from a textarea and surround text delimited with newlines with p-tags
Submitted by
Bob M
-
8 years ago
1
URL-http(s)
PCRE (PHP <7.3)
Tests for valid http or https protocol URL. *2 groups- one for protocol,domain, and any subdomains; and one for path, query, params, and fragments(if any. The following WILL match: http://foo.com/blah_blah http://foo.com/blah_blah/...
Submitted by
Brennan
-
8 years ago
1
Singapore and Malaysia Mobile numbers
PCRE (PHP <7.3)
Singapore and Malaysia Mobile numbers
Submitted by
Harsh Gupta
-
8 years ago
1
UK Postcode
PCRE (PHP <7.3)
as per the following specifications: FORMAT EXAMPLE AN NAA M1 1AA ANN NAA M60 1NW AAN NAA CR2 6XH...
Submitted by
Spluf (Cosmin Pop)
-
8 years ago
1
Thai mobile phone
PCRE (PHP <7.3)
Start with 0 and the second character is 6|8|9 Thai mobile phone number up to 10
Submitted by
anonymous
-
7 years ago
1
Test expression
PCRE2 (PHP >=7.3)
To find at most 3 a in string
Submitted by
anonymous
-
3 years ago
1
PHP North American Phone Number
PCRE2 (PHP >=7.3)
Format phone numbers to look nice! E.g. 12345678900 --> +1(234)-567-8900 Matches with most ways numbers are stored 1.234.567.8900 1 234 567 8900...
Submitted by
Mendel Groner
-
3 years ago
1
Password - mot de passe
PCRE2 (PHP >=7.3)
1 caractère minuscule minimum 1 caractère majuscule minimum 1 chiffre minimum 1 caractère spécial minimum pas d'espace 8 caractères minimum en tout
Submitted by
Sofiane
-
2 years ago
1
bridal quality
PCRE (PHP <7.3)
no description available
Submitted by
mine
-
11 years ago
1
why this matches?
PCRE (PHP <7.3)
no description available
Submitted by
romans
-
11 years ago
1
{if}{endif} matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
saja
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
Check SQL Insert Into
PCRE (PHP <7.3)
no description available
Submitted by
MelRight
-
11 years ago
1
tags, tags in quotes
PCRE (PHP <7.3)
#day tralalala #"day" tralalala #'beautiful_day'
Submitted by
voodoo free.dev.ua@gmail.
-
10 years ago
1
rfrf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Switzerland UID id
PCRE (PHP <7.3)
matches the Swiss government's UID id for enterprises
Submitted by
marcel
-
10 years ago
1
match up to -
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
example regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
37
38
39
40
41
...
593
Check SQL Insert Into
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
\(
\d
+
,
\d
+
,'
[
\d\w
]
+
',
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
\)
)
(
,
(
\(
\d
+
,
\d
+
,'
[
\d\w
]
+
',
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
,
\d
+
\)
)
|
,{,1}
)*
$
/
gms
Open regex in editor
Description
no description available
Submitted by
MelRight
-
11 years ago