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...
1
Strip Android Logs of Date/Time and process
PCRE (PHP <7.3)
Strip Android Logs of Date/Time and process. This helps if you want to diff 2 logs and remove the different date/time and process numbers
Submitted by
anonymous
-
8 years ago
1
Amazon Resource Name (ARN) pattern with a named group for each component
Python
A pattern to parse Amazon Web Services ARNs into their varying components: Partition Service Region AccountID...
Submitted by
Arnoud
-
8 years ago
1
Any word
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Https
Python
no description available
Submitted by
anonymous
-
8 years ago
1
RegExp that accepts English, Arabic and numbers
ECMAScript (JavaScript)
no description available
Submitted by
Momen Zakaria
-
8 years ago
1
Match invalid percent-encoding
Python
Match % signs of sequences that aren't valid "percent-encoded"
Submitted by
anonymous
-
8 years ago
1
Product Code Matcher
Python
Regex to find product codes that are usually all upper case with numbers or all numbers with possible hyphens, slashes or dots as delimiters. Anything that matches the date format ##/##/##?? with various delimiters will not match. Require that the code contains at least 1 number. ...
Submitted by
anonymous
-
8 years ago
1
Para la consulta departamento
Python
Define los parámetros para la consulta de los datos del departamento.
Submitted by
anonymous
-
8 years ago
1
form regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
CS124_HW1:spamlord_email
Python
Spamlord assignment: this regex detects email addresses in text.
Submitted by
anonymous
-
8 years ago
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
...
271
272
273
274
275
...
900
Community Library Entry
1
Regular Expression
Python
r"
\(
*
(
\d
{3}
)
(?:
(?:
-
*
|
\s
*
|
\.
*
|
\)
*
|
\)
\s
*
)
)
(
\d
{3}
)
(?:
(?:
-
*
|
\s
*
|
\.
*
|
\)
*
)
)
(
\d
{4}
)
"
g
Open regex in editor
Description
Spamlord assignment: this regex detects phone numbers in text.
Submitted by
anonymous
-
8 years ago