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 3,760 community submitted regex patterns...
2
file extension validation
ECMAScript (JavaScript)
no description available
Submitted by
Lisa
-
9 years ago
2
pdf url link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
get file Extensions
ECMAScript (JavaScript)
var fileExtensionPatter = /\.([0-9a-z]+)(?=[?#])|(\.)(?:[\w]+)$/ var ma1 = 'css/global.css?v=1.2'.match(fileExtensionPatter)[0]; console.log(ma1); // return .css ...
Submitted by
Ahbap Aldırmaz
-
9 years ago
2
fffs
ECMAScript (JavaScript)
dfsfd
Submitted by
anonymous
-
9 years ago
2
Delimite a number with 3-digital block
ECMAScript (JavaScript)
no description available
Submitted by
Willy
-
9 years ago
2
Parse string like: "[!type|name] http://some.url/to.file"
ECMAScript (JavaScript)
http://some.url/to.file [!css|name]http://some.url/to.file [!css] http://some.url/to.file ...
Submitted by
Max Chuhryaev
-
9 years ago
2
Strong password
ECMAScript (JavaScript)
Password require: lowercase, uppercase, symbol, not consecutive same letter/number, and not some specific words
Submitted by
@cadete_kdt
-
9 years ago
2
password 1upper 1lower 1number 1specialcharater
ECMAScript (JavaScript)
fjk@1Qaa$
Submitted by
Anuswadh
-
9 years ago
2
US datetime
ECMAScript (JavaScript)
Validates a US mm-dd-yy(yy) with an optional hh:mm:ss time.
Submitted by
anonymous
-
9 years ago
2
emoji short-code detection
ECMAScript (JavaScript)
Detects the short-code words for emojis (a la jemoji).
Submitted by
Eric McCormick
-
9 years ago
2
bye
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Date or N/A
ECMAScript (JavaScript)
Accepts Date or not applicable string.
Submitted by
Toufique Ahmed
-
9 years ago
2
problem for homework
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
kasd; fk.!@#$%^&*()*()%^&*()_
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Removes script tags
ECMAScript (JavaScript)
no description available
Submitted by
ghs
-
9 years ago
2
Href parse
ECMAScript (JavaScript)
matches href, title, innerhtml
Submitted by
chrysls
-
9 years ago
2
Remove XSS
ECMAScript (JavaScript)
no description available
Submitted by
Harish Thakur
-
9 years ago
2
String Interpolation
ECMAScript (JavaScript)
String Interpolation. Works Like Angular
Submitted by
Aykut Alpgiray Ateş
-
9 years ago
2
SSN
ECMAScript (JavaScript)
allow nine digits only
Submitted by
anonymous
-
9 years ago
2
Bible verse, biblical string in text
ECMAScript (JavaScript)
Matches biblical strings in text. Two capture groups are used - one for the books name and another for the passages of the same book. RegEx is long because it is strict!!! If you want to also match books names without specified chapter and verses use: /((?:[1234]\s?)?[a-zа-я]+)(\s?\d+(?::(?:\d+[—–-...
Submitted by
Desislavsd
-
9 years ago
1
...
176
177
178
179
180
...
188
Community Library Entry
31
Regular Expression
ECMAScript (JavaScript)
/
^
(
[
\w
-
]
+
(?:
\.
[
\w
-
]
+
)*
)
@
(
(?:
[
\w
-
]
+
\.
)*
\w
[
\w
-
]
{0,66}
)
\.
(
[
a
-
z
]
{2,6}
(?:
\.
[
a
-
z
]
{2}
)?
)
$
/
i
Open regex in editor
Description
Email address, most used cases
Submitted by
Jago
-
9 years ago