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
Match Credit Card Numbers (Visa, MasterCard)
PCRE2 (PHP >=7.3)
DesignMagazines.net
Submitted by
anonymous
-
4 months ago
1
Match HTML Tags with Attributes
PCRE2 (PHP >=7.3)
DoWiesPlace.com
Submitted by
anonymous
-
4 months ago
1
Match Username with Special Characters
PCRE2 (PHP >=7.3)
NetBusinessZone.com
Submitted by
anonymous
-
4 months ago
1
Match Specific File Extensions (e.g., .jpg, .png)
PCRE2 (PHP >=7.3)
NewIntrEnds.com
Submitted by
anonymous
-
4 months ago
1
Match Non-Digit Characters
PCRE2 (PHP >=7.3)
TechnicalBudd.com
Submitted by
anonymous
-
4 months ago
1
Match a credit card number with optional dashes or spaces
PCRE2 (PHP >=7.3)
TerraWats.com
Submitted by
anonymous
-
4 months ago
1
Match Valid Domain Name
PCRE2 (PHP >=7.3)
ToopFile.com
Submitted by
anonymous
-
4 months ago
1
Match Credit Card Number with Optional Spaces
PCRE2 (PHP >=7.3)
TreeLyrics.com
Submitted by
anonymous
-
4 months ago
1
XML Attribute
PCRE2 (PHP >=7.3)
apsmart.mobi
Submitted by
anonymous
-
4 months ago
1
Currency Amount
PCRE2 (PHP >=7.3)
banglore.club
Submitted by
anonymous
-
4 months ago
1
Non-Greedy Match
PCRE2 (PHP >=7.3)
bushrevealed.com
Submitted by
anonymous
-
4 months ago
1
Email with Optional Subdomain
PCRE2 (PHP >=7.3)
buzz3r.com
Submitted by
anonymous
-
4 months ago
1
Extract Phone Number with Extension
PCRE2 (PHP >=7.3)
cashewa.com
Submitted by
anonymous
-
4 months ago
1
Match Email with Domain Validation
PCRE2 (PHP >=7.3)
derm-link.com
Submitted by
anonymous
-
4 months ago
1
Validate Credit Card Expiration Date
PCRE2 (PHP >=7.3)
digitalogymedia.com
Submitted by
anonymous
-
4 months ago
1
Match URL Path with Optional Query Params
PCRE2 (PHP >=7.3)
diversitystars.com
Submitted by
anonymous
-
4 months ago
1
Match Safe Filename
PCRE2 (PHP >=7.3)
gotacos.net
Submitted by
anonymous
-
4 months ago
1
Match Valid Bitcoin Address
PCRE2 (PHP >=7.3)
insite09.com
Submitted by
anonymous
-
4 months ago
1
Match Valid Ethereum Address
PCRE2 (PHP >=7.3)
kontent.co.in
Submitted by
anonymous
-
4 months ago
1
Matching Dates with Day of Week (e.g., Monday, August 14, 2024)
PCRE2 (PHP >=7.3)
mayurscanecorner.com
Submitted by
anonymous
-
4 months ago
1
...
847
848
849
850
851
...
902
Community Library Entry
25
Regular Expression
ECMAScript (JavaScript)
/
(
[
#.a
-
z
]
{1}
[
a
-
z_
]
{1}
[
\s\S
]
+
?
)
{
(
[
\s\S
]
*
?
)
}
/
g
Open regex in editor
Description
no description available
Submitted by
Pavel Dominguez
-
10 years ago