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...
2
Dice Regex with Modifier
PCRE (PHP <7.3)
no description available
Submitted by
derek robati
-
10 years ago
1
someone knows he answer?
PCRE (PHP <7.3)
are both strings matching, I wnat only the second one to match
Submitted by
anonymous
-
10 years ago
1
Get extension of an file
ECMAScript (JavaScript)
Get extension of an file.
Submitted by
Taffarel Xavier
-
10 years ago
1
regex for phone numbers in Israel
PCRE (PHP <7.3)
regex for phone numbers in Israel
Submitted by
anonymous
-
10 years ago
1
KZ phone regexp
PCRE (PHP <7.3)
Regexp for kz website mask "+7(999) 999-99-99"
Submitted by
Iden
-
10 years ago
1
match the first sentence, ignoring enumerations
Python
no description available
Submitted by
Henrik Heimbuerger
-
10 years ago
2
selectin multiple image pattern
Python
no description available
Submitted by
cool_jesus
-
10 years ago
1
Object regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
23
PCRE (PHP <7.3)
23
Submitted by
23
-
10 years ago
1
Sentence Matcher
ECMAScript (JavaScript)
Matches sentences, but skips over abreviations
Submitted by
Jonathan Mee
-
10 years ago
1
JS Regex Lazy quantifier
ECMAScript (JavaScript)
JS Regex Lazy quantifier
Submitted by
anonymous
-
10 years ago
1
LOL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
获取discuz引用回复用户名
PCRE (PHP <7.3)
no description available
Submitted by
Paul Wang
-
10 years ago
1
Email
ECMAScript (JavaScript)
Supports new top level domains, such as .plumbers .blackfriday
Submitted by
Glutnix
-
10 years ago
2
filter noreply-ish e-mail addresses
PCRE (PHP <7.3)
no reply e-mail addresses don't want to receive a reply. Unfortunately, not all no reply e-mail addresses are formatted like noreply@domain.tld, so in order to catch as many of them as possible I made this regular expression which matches many forms of no reply e-mail addresses.
Submitted by
anonymous
-
10 years ago
1
very basic email regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
2
Match domain part in Http(s) URLs
PCRE (PHP <7.3)
no description available
Submitted by
Nilratan
-
10 years ago
0
Password Policy
ECMAScript (JavaScript)
Based on the below password policy need a regex in java/javascript --Maximum Occurrence (Number of repeated Characters allowed): 1 --Minimum Alpha: 1 --Minimum Embedded Numeric: 1 --Minimum Length: 8...
Submitted by
Kannan SB
-
10 years ago
1
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
10 years ago
2
Dim name
PCRE (PHP <7.3)
Gets all variable names
Submitted by
Tyrone Moodley
-
10 years ago
1
...
44
45
46
47
48
...
902
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
^
(?'Username'
[
-
\w\d
\.
]
+
?
)
(?:
\s
+
at
\s
+
|
\s
+
\[
at
\]
\s
+
|
\s
*
@
\s
*
|
\s
*
(?:
[
\[\]
@
]
){3}
\s
*
)
(?'Domain'
[
-
\w\d
\.
]
*
?
)
\s
*
(?:
dot
|
\.
|
(?:
[
\[\]
dot
\.
]
){3,5}
)
\s
*
(?'TLD'
\w
+
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
11 years ago