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,040 community submitted regex patterns...
1
Remove styles
PCRE (PHP <7.3)
Removes style="" from tags within an HTML document
Submitted by
Dallum Brown
-
9 years ago
1
JHP (Javascript 'hypertext' preprocessor) include string
Python
Used by ktek-project-manager, ktek jhp library coming soon to github
Submitted by
ionbladez
-
9 years ago
1
kasper-py-regexp for agent
Python
no description available
Submitted by
reza-ad
-
9 years ago
1
kll
PCRE (PHP <7.3)
jkl
Submitted by
jkl
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
UK Postcode
PCRE (PHP <7.3)
Tests for full postcode, with alternative for just prefix.
Submitted by
Calvin Willman
-
9 years ago
0
UK Postcode
ECMAScript (JavaScript)
Tests UK Postcode with alternative for Postcode Prefix
Submitted by
Calvin Willman
-
9 years ago
1
Match mongo _id in JSON mongodb dump
PCRE (PHP <7.3)
no description available
Submitted by
Josh Kopecek
-
9 years ago
1
DUI_ELSalvador
PCRE (PHP <7.3)
Documento Unico de Identidad de El Salvador
Submitted by
Roger
-
9 years ago
0
Split full name (russian)
PCRE (PHP <7.3)
Split full name for russian notation. Example: Иванов Иван Иванович петров Result: [1]=> Иванов [2]=> Иван [3]=> Иванович петров
Submitted by
Lekmaby
-
9 years ago
1
RNP
ECMAScript (JavaScript)
no description available
Submitted by
KSrGEAR
-
9 years ago
1
Change Extension in File Name
ECMAScript (JavaScript)
Changes extension in a file name.
Submitted by
Mi-L@
-
9 years ago
1
BEM for CSS
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
9 years ago
1
pattkk
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
check youtube url
PCRE (PHP <7.3)
no description available
Submitted by
Fernando
-
9 years ago
1
CSPTGF response
PCRE (PHP <7.3)
Get Talk Group Folder response regex
Submitted by
anonymous
-
9 years ago
1
наличие личного авто
Python
no description available
Submitted by
anonymous
-
9 years ago
1
наличие личного авто false reg
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Validate US Telephone Numbers
ECMAScript (JavaScript)
no description available
Submitted by
Davide Vozzi
-
9 years ago
1
Have one word and don't have another
PCRE (PHP <7.3)
Search for /cat/ in the string where don't have /prod/ itself.
Submitted by
Douglas Ianitsky
-
9 years ago
1
...
185
186
187
188
189
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
a
-
zA
-
Z
]
{1,2}
\d
{1,2}
)
\s
*
?
(
\d
[
a
-
zA
-
Z
]
{2}
)
$
|
^
(
[
a
-
zA
-
Z
]
{1,2}
\d
{1,2}
)
$
/
i
Open regex in editor
Description
Tests UK Postcode with alternative for Postcode Prefix
Submitted by
Calvin Willman
-
9 years ago