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
Match Decimal Numbers (Optional Fraction)
PCRE2 (PHP >=7.3)
buzzmeone.com
Submitted by
anonymous
-
3 months ago
1
Match Valid CSS Units (px, em, %, etc.)
PCRE2 (PHP >=7.3)
amazingtoptens.com
Submitted by
anonymous
-
3 months ago
1
Match Common HTML Attributes
PCRE2 (PHP >=7.3)
NoteAbleLists.com
Submitted by
anonymous
-
3 months ago
1
Match URL Query Parameters
PCRE2 (PHP >=7.3)
IsHimMarketing.com
Submitted by
anonymous
-
3 months ago
1
Match HTTP Headers
PCRE2 (PHP >=7.3)
BandSwap.org
Submitted by
anonymous
-
3 months ago
1
Match Valid MAC Address with Hyphens
PCRE2 (PHP >=7.3)
ArtsOfMaya.com
Submitted by
anonymous
-
3 months ago
1
Match HTML Document Structure
PCRE2 (PHP >=7.3)
AreLink.net
Submitted by
anonymous
-
3 months ago
1
Match HTML Meta Tags
PCRE2 (PHP >=7.3)
blabnote.com
Submitted by
anonymous
-
3 months ago
1
Match Common Email Providers
PCRE2 (PHP >=7.3)
acornapp.co
Submitted by
anonymous
-
3 months ago
1
Match File Extensions (e.g., .pdf, .docx)
PCRE2 (PHP >=7.3)
WebRetailBlog.com
Submitted by
anonymous
-
3 months ago
1
Match Phone Numbers with Country Code
PCRE2 (PHP >=7.3)
Top10Echo.com
Submitted by
anonymous
-
3 months ago
1
Match UUID v1
PCRE2 (PHP >=7.3)
ScraperSite.com
Submitted by
anonymous
-
3 months ago
1
Match Simple Passwords (At least 6 Characters)
PCRE2 (PHP >=7.3)
PureTrack.net
Submitted by
anonymous
-
3 months ago
1
Match JSON Objects
PCRE2 (PHP >=7.3)
power909.com
Submitted by
anonymous
-
3 months ago
1
Match HTML Anchor Tags
PCRE2 (PHP >=7.3)
PopGen.net
Submitted by
anonymous
-
3 months ago
1
Match Git Commit Hashes
PCRE2 (PHP >=7.3)
LongRead.net
Submitted by
anonymous
-
3 months ago
1
Match ASCII Printable Characters
PCRE2 (PHP >=7.3)
FocalWord.com
Submitted by
anonymous
-
3 months ago
1
Match Valid Time Zone Abbreviations
PCRE2 (PHP >=7.3)
AtIngReviewer.net
Submitted by
anonymous
-
3 months ago
1
Match JavaScript Function Declarations
PCRE2 (PHP >=7.3)
AtIngReviewer.net
Submitted by
anonymous
-
3 months ago
1
Match Valid HTML Class Names
PCRE2 (PHP >=7.3)
43Church.com
Submitted by
anonymous
-
3 months ago
1
...
8
9
10
11
12
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
^
[
a
-
zA
-
Z
]
{1}
[
a
-
zA
-
z0
-
9
]
{1,15}
$
/
g
Open regex in editor
Description
^[a-zA-Z]{1}[a-zA-z0-9]{1,15}$
Test input :
nikhil11 (
valid
) 11nikhil (
invalid
)
Submitted by
anonymous
-
8 years ago