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 15,280 community submitted regex patterns...
0
UK Postcode
PCRE (PHP <7.3)
Tests for full postcode, with alternative for just prefix.
Submitted by
Calvin Willman
-
8 years ago
0
UK Postcode
ECMAScript (JavaScript)
Tests UK Postcode with alternative for Postcode Prefix
Submitted by
Calvin Willman
-
8 years ago
1
Match mongo _id in JSON mongodb dump
PCRE (PHP <7.3)
no description available
Submitted by
Josh Kopecek
-
8 years ago
1
DUI_ELSalvador
PCRE (PHP <7.3)
Documento Unico de Identidad de El Salvador
Submitted by
Roger
-
8 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
-
8 years ago
1
RNP
ECMAScript (JavaScript)
no description available
Submitted by
KSrGEAR
-
8 years ago
1
Change Extension in File Name
ECMAScript (JavaScript)
Changes extension in a file name.
Submitted by
Mi-L@
-
8 years ago
1
BEM for CSS
PCRE (PHP <7.3)
no description available
Submitted by
giacomozinetti
-
8 years ago
1
pattkk
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
check youtube url
PCRE (PHP <7.3)
no description available
Submitted by
Fernando
-
8 years ago
1
CSPTGF response
PCRE (PHP <7.3)
Get Talk Group Folder response regex
Submitted by
anonymous
-
8 years ago
1
Validate US Telephone Numbers
ECMAScript (JavaScript)
no description available
Submitted by
Davide Vozzi
-
8 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
-
8 years ago
1
Get src and srcset image attributes, and other attributes
PCRE (PHP <7.3)
Not depending on the src or srcset order, but some matches can be empty, depending on the img syntax.
Submitted by
Geoffrey Crofte & Sébastien Decamme
-
8 years ago
1
get user authentication
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
text validation
ECMAScript (JavaScript)
allows white spaces, -, Umlaut and ß
Submitted by
anonymous
-
8 years ago
1
Czech phone number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
yahya_asadi
ECMAScript (JavaScript)
trying to learn regex
Submitted by
yahya_asadi
-
8 years ago
0
Find all attributes and values of HTML tag
PCRE (PHP <7.3)
This regex will find all attributes, values, and the equal operator, as well as the white space between attributes. You can use this to extract all attributes to remove all inline styles.
Submitted by
Demetri Ojeda
-
8 years ago
1
Norwegian Address Pattern
PCRE (PHP <7.3)
Street name XXX, XXXX City XXX = House number XXXX = Zip code Example:...
Submitted by
Yuppielabel
-
8 years ago
1
...
164
165
166
167
168
...
764
text validation
0
Regular Expression
ECMAScript (JavaScript)
/
^
[^
!@#$%^&*()
\+\=\[\]\\\'
;,.
\/
{}|
\"
:<>?
]
+
$
/
Open regex in editor
Description
allows white spaces, -, Umlaut and ß
Submitted by
anonymous
-
8 years ago