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
HTML5 or custom element tag
ECMAScript (JavaScript)
Matches a HTML5/custom element valid tag format .
Submitted by
Shadrack Ndacayisenga
-
8 years ago
1
Decimal numbers
PCRE (PHP <7.3)
Matches decimal numbers as accepted by e.g. Octave.
Submitted by
anonymous
-
8 years ago
1
Piwik
Python
no description available
Submitted by
Lennart Peeters
-
8 years ago
1
BTPAPP
Python
Filter search for candidate
Submitted by
anonymous
-
8 years ago
1
lines with 2 consecutive chars
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Dailymotion videos ids
PCRE (PHP <7.3)
find ids of video in dailymotion urls in text
Submitted by
anonymous
-
8 years ago
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
...
735
736
737
738
739
...
902
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
(?:
\b
function
\s
+
(
\w
+
)
\(
[^
()
]
*
\)
\s
*
\{
|
(?!
^\G
)
)
(?:
(?!
\b
function
\s
+
\w
+
\(
[^
()
]
*
\)
\s
+
{
|
}
\h
*
\r
?
\n
)
.
)*
?
\$
body
\s
*
->
\s
*
(
\w
+
)
|
function
\s
*
(
.
+
?
)
\(
/
sg
Open regex in editor
Description
tristate
Submitted by
karan
-
9 years ago