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,000 community submitted regex patterns...
1
US Phone Number Validation (with optional country code and separators)
PCRE2 (PHP >=7.3)
unwhatever.me
Submitted by
anonymous
-
3 months ago
1
Strong Password Validation (at least 8 characters, one uppercase, one lowercase, one number, one special character
PCRE2 (PHP >=7.3)
corridanandco.com
Submitted by
anonymous
-
3 months ago
1
Hexadecimal Color Code Validation
PCRE2 (PHP >=7.3)
murdochleaks.org
Submitted by
anonymous
-
3 months ago
1
HTML Tag Matching
PCRE2 (PHP >=7.3)
downtimeonline.net
Submitted by
anonymous
-
3 months ago
1
HTML Tag Matching
PCRE2 (PHP >=7.3)
downtimeonline.net
Submitted by
anonymous
-
3 months ago
1
Match a valid MAC address (with optional delimiters)
PCRE2 (PHP >=7.3)
techakc.com
Submitted by
anonymous
-
3 months ago
1
Match a string with repeating characters separated by a comma (e.g., "a,b,c")
PCRE2 (PHP >=7.3)
0478.me
Submitted by
anonymous
-
3 months ago
1
Match a valid GUID/UUID
PCRE2 (PHP >=7.3)
hackday.tv
Submitted by
anonymous
-
3 months ago
1
Match a string with optional trailing punctuation
PCRE2 (PHP >=7.3)
expofestival.org
Submitted by
anonymous
-
3 months ago
1
Match a string with a specific pattern
PCRE2 (PHP >=7.3)
elderbrendabradley.com
Submitted by
anonymous
-
3 months ago
1
Match a string with no consecutive duplicate characters
PCRE2 (PHP >=7.3)
kickflix.net
Submitted by
anonymous
-
3 months ago
1
Match a valid Twitter handle
PCRE2 (PHP >=7.3)
meetiin.com
Submitted by
anonymous
-
3 months ago
1
Match a valid Twitter handle
PCRE2 (PHP >=7.3)
meetiin.com
Submitted by
anonymous
-
3 months ago
1
Match a string with specific length and content
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
3 months ago
1
Match a string with specific length and content
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
3 months ago
1
Match a string with nested brackets
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
3 months ago
1
Match a string with alternating uppercase and lowercase letters
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
3 months ago
1
Match a date in DD-MM-YYYY format
PCRE2 (PHP >=7.3)
memoryjarapp.com
Submitted by
anonymous
-
3 months ago
1
Match Word Characters with Optional Hyphens
PCRE2 (PHP >=7.3)
loggerblogger.net
Submitted by
anonymous
-
3 months ago
1
Match Nested Parentheses and Brackets
PCRE2 (PHP >=7.3)
memoryjarapp.com
Submitted by
anonymous
-
3 months ago
1
...
309
310
311
312
313
...
900
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
\b
(?:
id
|
class
|
style
|
href
|
src
|
alt
|
title
|
name
|
value
|
type
|
placeholder
|
data-
[
a
-
zA
-
Z0
-
9_-
]
+
)
\b
/
gm
Open regex in editor
Description
NoteAbleLists.com
Submitted by
anonymous
-
3 months ago