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
HTML Code
PCRE (PHP <7.3)
HTML CODE given by (hex number   OR number   OR name )
Submitted by
novy
-
9 years ago
1
french phone number
PCRE (PHP <7.3)
french phone number
Submitted by
lolo64
-
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
0
Phone search in HTML
PCRE (PHP <7.3)
Searching for phone in HTML where content in 1-st tag descibes phone type in some next tag
Submitted by
Akella
-
9 years ago
1
simple json key -value
PCRE (PHP <7.3)
simple json key -value parser
Submitted by
ReMMeR
-
9 years ago
2
Delimite a number with 3-digital block
ECMAScript (JavaScript)
no description available
Submitted by
Willy
-
9 years ago
1
•
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
File extention
ECMAScript (JavaScript)
Extract file extention from URL
Submitted by
anonymous
-
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
1
simple url regex (http,https)
ECMAScript (JavaScript)
To recognize url like (for the more complex one): https://word.office.live.com/wv/WordView.aspx?FBsrc=https%3A%2F%2Fwww.facebook.com%2Fattachments%2Ffile_preview.php%3Fid%3D713987203%26time%3D145332%26metadata&access_token=1606%3AAVKzw1&title=2016+Test+Document+Word+Online.doc
Submitted by
Pika
-
9 years ago
1
Match Markdown Text Paragraph at a Root Level
ECMAScript (JavaScript)
http://stackoverflow.com/q/34914559/368691
Submitted by
Gajus Kuizinas
-
9 years ago
1
logical operators
Python
no description available
Submitted by
Nicolas
-
9 years ago
2
Fix Card Def
PCRE (PHP <7.3)
no description available
Submitted by
yyrkroon
-
9 years ago
1
basic emails with separator
PCRE (PHP <7.3)
infinite emails with ; separator a@b.c;a@b.c;a@b.c;a@b.c;a@b.c
Submitted by
gcolciago
-
9 years ago
1
not a character and not spaces
PCRE (PHP <7.3)
no description available
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
1
tablespace_Skipper
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Phone numbers - Poland
PCRE (PHP <7.3)
Validates following phone number schemes: 1234567 123-45-67 12-34-578 711234567 0711234567...
Submitted by
Forseti
-
9 years ago
1
...
58
59
60
61
62
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(
[
"'
]
)
(
(?:
\\
\1
|
(?!
\1
)
.
)+
)
\1
/
g
Open regex in editor
Description
Get everything inside single/double quotes and ignoring escaped ones
Submitted by
Jerry
-
11 years ago