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 12,060 community submitted regex patterns...
1
Match mongo _id in JSON mongodb dump
PCRE (PHP <7.3)
no description available
Submitted by
Josh Kopecek
-
8 years ago
0
UK Postcode
PCRE (PHP <7.3)
Tests for full postcode, with alternative for just prefix.
Submitted by
Calvin Willman
-
8 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
kll
PCRE (PHP <7.3)
jkl
Submitted by
jkl
-
8 years ago
0
genesis data (longitude, latitude)
PCRE (PHP <7.3)
no description available
Submitted by
frost
-
8 years ago
1
Remove styles
PCRE (PHP <7.3)
Removes style="" from tags within an HTML document
Submitted by
Dallum Brown
-
8 years ago
1
Montos de 6 enteros y 2 decimales
PCRE (PHP <7.3)
no description available
Submitted by
Jesús Díaz
-
8 years ago
0
single or double quotes
PCRE (PHP <7.3)
Get anything inside quotes (single o double)
Submitted by
garsax
-
8 years ago
1
DMS String Validation
PCRE (PHP <7.3)
no description available
Submitted by
Karsten
-
8 years ago
1
Parse URL and image file name
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
10-digit phone number with hyphens
PCRE (PHP <7.3)
Such as 333-333-1234. Does not test for valid sequences of digits. E.g. 000-000-0000 would pass.
Submitted by
anonymous
-
8 years ago
0
Search for Year
PCRE (PHP <7.3)
1900-2099
Submitted by
anonymous
-
8 years ago
1
Isolate string in double or single quotes
PCRE (PHP <7.3)
Isolate strings inside double or single quotes
Submitted by
garsax
-
8 years ago
1
file name in url
PCRE (PHP <7.3)
get the file name of an image url
Submitted by
Alex
-
8 years ago
2
<a href=" replacer
PCRE (PHP <7.3)
to put # instead of url
Submitted by
mrBakop
-
8 years ago
1
Exercicio_Substituição
PCRE (PHP <7.3)
no description available
Submitted by
Elcio A
-
8 years ago
9
Fiddler raw body to PHP array
PCRE (PHP <7.3)
no description available
Submitted by
garsax
-
8 years ago
1
Exercicio_prefeitura
PCRE (PHP <7.3)
no description available
Submitted by
Elcio A.
-
8 years ago
0
Exercicio_hexadecimal
PCRE (PHP <7.3)
no description available
Submitted by
Elcio A
-
8 years ago
1
Exercicio_horario_simplificado
PCRE (PHP <7.3)
no description available
Submitted by
Elcio A.
-
8 years ago
1
...
487
488
489
490
491
...
603
HTML entities
0
Regular Expression
PCRE (PHP <7.3)
/
&
(?:
[
a
-
z
\d
]
+
|
#
\d
+
|
#x
[
a
-
f
\d
]
+
)
/
g
Open regex in editor
Description
Matches HTML entities like <
Submitted by
anonymous
-
8 years ago