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
sdf
PCRE (PHP <7.3)
sdf
Submitted by
sdf
-
10 years ago
1
parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
MySQL PHP connection string
PCRE (PHP <7.3)
Capture dbname and host from MySQL PHP connection string
Submitted by
anonymous
-
10 years ago
1
facebook post embed code
PCRE (PHP <7.3)
This pattern matches to the facebook post embed codes. It matches on each parts of the whole embed code individualy, and matches on the complete embed code either.
Submitted by
kristian tanacs
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Find missing or superfluous commas in "For å" constructions.
PCRE (PHP <7.3)
Finds missing commas in "For å ..." constructions according to officially ordained grammar-based comma rules.
Submitted by
Eirik Birkeland
-
10 years ago
0
1
Python
no description available
Submitted by
anonymous
-
10 years ago
1
CVC
ECMAScript (JavaScript)
This will determine that an accurate CVC has been entered
Submitted by
Scott Mebberson
-
10 years ago
0
Find color
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Number Input That Supports Simple Math Expressions
ECMAScript (JavaScript)
RegEx matches: '5', '+5', '-5', '5+5', '-5+5', '+5+5', '5+9+7*-2' RegEx doesn't match: '5+', '5-', '5+9-', 'asdfasf5+5'
Submitted by
David Weitzenfeld
-
10 years ago
1
Subquery
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
LGC regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
URLs
PCRE (PHP <7.3)
split URL in 2 parts
Submitted by
A.L
-
10 years ago
-2
regex101
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
10 years ago
(Last modified a year ago)
1
RFC 3936
Python
Parses URIs according to RFC3936
Submitted by
anonymous
-
10 years ago
1
GDI Prüfung 20.01.2012
Python
no description available
Submitted by
anonymous
-
10 years ago
1
cvdfd
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
no 666
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
bsah_7
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
88
89
90
91
92
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
+-
]
?
(
[
√∛∜
]
|
a
?
(
sin
|
cos
|
tan
)
h
?
|
cot
|
sec
|
csc
|
ln
|
log
(
2
|
10
)?
)?
[
([{⎢
]
)*
[
+-
]
?
(
0
(
b
(
[
01
]
+
(
\.
[
01
]
*
)?
|
\.
[
01
]
+
)
|
x
(
[
0
-
9a
-
f
]
+
(
\.
[
0
-
9a
-
f
]
*
)?
|
\.
[
0
-
9a
-
f
]
+
)
|
o
(
[
0
-
7
]
+
(
\.
[
0
-
7
]
*
)?
|
\.
[
0
-
7
]
+
)
)
(
p
[
+-
]
?
\d
+
)?
|
(
\d
+
(
\.
\d
*
)?
|
\.
\d
+
)
(
e
[
+-
]
?
\d
+
)?
)
(
[
)
\]
}⎥
]
*
[
-+*×/•÷^%
]
?
(
[
+-
]
?
(
[
√∛∜
]
|
a
?
(
sin
|
cos
|
tan
)
h
?
|
cot
|
sec
|
csc
|
ln
|
log
(
2
|
10
)?
)?
[
([{⎢
]
)*
[
+-
]
?
(
0
(
b
(
[
01
]
+
(
\.
[
01
]
*
)?|
\.
[
01
]
+
)
|
x
(
[
0
-
9a
-
f
]
+
(
\.
[
0
-
9a
-
f
]
*
)?|
\.
[
0
-
9a
-
f
]
+
)
|
o
(
[
0
-
7
]
+
(
\.
[
0
-
7
]
*
)?|
\.
[
0
-
7
]
+
)
)
(
p
[
+-
]
?
\d
+
)?
|
(
\d
+
(
\.
\d
*
)?
|
\.
\d
+
)
(
e
[
+-
]
?
\d
+
)?
)
)*
[
)
\]
}⎥
]
*
$
/
i
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago