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...
2
Float Representation
PCRE (PHP <7.3)
no description available
Submitted by
S-YOU
-
9 years ago
2
Chinese slang words regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Common Taiwanese slang regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
prova1
PCRE (PHP <7.3)
.((black\-?friday\.ga)|(alibestsale\.com)|(build\-?a\-?better\-?business\.2your\.site)|(callmebold\.com)|(centurylink\.net)|(cyber\-?monday\.ga)|(digg\.com)|(euro\.typepad\.jp)|(exmail\.qq\.com)).
Submitted by
anonymous
-
9 years ago
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
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
Fix Card Def
PCRE (PHP <7.3)
no description available
Submitted by
yyrkroon
-
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
LUN UID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Parse Cabrillo Amateur Radio Log Record
PCRE (PHP <7.3)
no description available
Submitted by
NY4I
-
9 years ago
2
ofstream ifstream file C++
Python
match ofstream of("test.txt", ios_base::app); ofstream of("test.txt", ios_base::trunc); ofstream of("test.txt", ios_base::binary);
Submitted by
Денис Суховерхов
-
9 years ago
2
css class finder
PCRE (PHP <7.3)
این عبارت منظم یک کلاس سی اس اس را پیدا می کند
Submitted by
ehsan abbasi
-
9 years ago
2
comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Regex to find if/while constructs
PCRE (PHP <7.3)
Find if/while in JS code written in PCRE
Submitted by
Deepak Subramanian
-
9 years ago
2
Find url('./xxx)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
867
868
869
870
871
...
900
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago