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
CS124_HW1:spamlord_phone
Python
Spamlord assignment: this regex detects phone numbers in text.
Submitted by
anonymous
-
8 years ago
1
Regex for parsing Slack Urls
ECMAScript (JavaScript)
This regex is a duplicate of another one, but with a minor modification to support subdomains with one or more "-" in it. ie:
Submitted by
Dylan
-
8 years ago
1
Statful Entities Name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Regex to replace width and height of mediatool image
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
中文
Python
Python 正则匹配中文、中文全角逗号句号和问号
Submitted by
anonymous
-
8 years ago
1
Insert comma as thousands delimiter
PCRE (PHP <7.3)
The following regular expression can be used to insert commas as thousands delimiter. The pattern was taken from the http://www.dlang.org web site.
Submitted by
Unknown
-
8 years ago
1
test
Python
learning regex in python
Submitted by
anonymous
-
8 years ago
1
Chord scanning
Python
no description available
Submitted by
anonymous
-
8 years ago
1
decimal nr between 0-99999.99 with comma or dot with max. 2 decimal digits
ECMAScript (JavaScript)
decimal nr between 0-99999.99 with comma or dot with max. 2 decimal digits
Submitted by
anonymous
-
8 years ago
1
double number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
#define
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Define and detect custom tag with specific prefix & suffix
ECMAScript (JavaScript)
Define and detect custom tag with specific prefix & suffix Define custom tag : `` . Regex is /\s]+?):>/gm . Prefix is `` . tag_name can not contain prefix, suffix, space, tab or newline character . tag_name can not be null ....
Submitted by
ShenTengTu
-
8 years ago
1
SharePoint file name validator - KB905231
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Italian check codeline
PCRE (PHP <7.3)
Expression matches magnetic codeline of checks, in italian banking system. i.e. >1234567890 old layout check >1234567890- 103014250# 66666666+ --> new layout check (notice the '-' check number terminator)...
Submitted by
Benny
-
8 years ago
1
/etc/passwd for most Linux distributions (e.g. Debian)
Python
no description available
Submitted by
anonymous
-
8 years ago
1
parsing objdump output
Python
parsing objdump output
Submitted by
anonymous
-
8 years ago
1
dd-MM-yyyy validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Trim leading zeroes in numbers 012.210 => 12.21
PCRE (PHP <7.3)
Trim leading zeroes 012.210 => 12.21 .002300 => .0023
Submitted by
FAy
-
8 years ago
1
number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
Lockbox Sätze #2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
...
757
758
759
760
761
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?<protocol>
(
(
https
?
)
|
(
sftp
)
|
(
ftps
?
)
:
)
)?
(
\/\/
)?
(?<domain>
(
[
a
-
zA
-
Z0
-
9
\.
_-
]
+
)
)+
(?<path>
(
[
\/
\w
.
]
+
)
)*
(
\?
{0,1}
)
(?<parameters>
(
[
&|&
]
*
(
[
\w
\.
,-
]
*
=
*
[
\w
\.
,-
]
*
)
)
)*
$
/
Open regex in editor
Description
no description available
Submitted by
Naruto(Kenny Fan)
-
9 years ago