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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 8,120 community submitted regex patterns...
1
Eclipse Keyword SPECGRID
Python
Retrieve the first numeric parameters of the SPECGRID keyword
Submitted by
Rashmin Dandekar
-
8 years ago
1
US Format Short Date String
ECMAScript (JavaScript)
Matches any short date string between 1/1/2000 - 12/31/2199 in the formats: d/m/yyyy, dd/m/yyyy, d/mm/yyyy, or dd/mm/yyyy
Submitted by
anonymous
-
8 years ago
1
Anything but Mr./Dr./Ms./Mrs.
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
ins tag with dcmads class
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
simple regex
ECMAScript (JavaScript)
The password entered is not in correct format (minimum eight characters, at least one uppercase, one lowercase, one number, and one special character)
Submitted by
Nguyen Pham
-
8 years ago
1
a
Python
a
Submitted by
a
-
8 years ago
1
邮箱
ECMAScript (JavaScript)
验证邮箱
Submitted by
刘波
-
8 years ago
1
Is Italiy mobile number
ECMAScript (JavaScript)
Check if it is an Italy legit mobile number
Submitted by
Nicolas Rafalowski
-
8 years ago
1
Positive number - currency format (1234567890.12)
ECMAScript (JavaScript)
Positive number with 10 digits before decimal point (possible zeros in front) and 0-2 digits after (possible trailing zeros).
Submitted by
Evgeny Sinitsyn
-
8 years ago
1
tags
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
UK Postcode Checker
ECMAScript (JavaScript)
Checks for valid UK/British postcodes. A modified version of MaffooBristol's pattern that prevents a non-whitespace character being entered in between the two sections of the postcode. Works in PHP/JS ...
Submitted by
anonymous
-
8 years ago
0
ending .pub
ECMAScript (JavaScript)
For files with a .pub ending
Submitted by
Marvin
-
8 years ago
1
Email validate
ECMAScript (JavaScript)
Validation of email with no allow to only special char before and after @ symbol, generic validation for domain
Submitted by
Kamil Popis
-
8 years ago
1
Match YouTube URL
ECMAScript (JavaScript)
Match YouTube URLs
Submitted by
Xaotic
-
8 years ago
1
Demo2
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Demo
Python
no description available
Submitted by
anonymous
-
8 years ago
1
Allow only one space after a word
ECMAScript (JavaScript)
This will allow only one space after a word.And also do not start with a space.
Submitted by
Rama Krishna
-
8 years ago
(Last modified a year ago)
1
c#
ECMAScript (JavaScript)
c#
Submitted by
cj
-
8 years ago
1
AND
ECMAScript (JavaScript)
no description available
Submitted by
Marco
-
8 years ago
0
html tag name
ECMAScript (JavaScript)
no description available
Submitted by
dsikiritsky
-
8 years ago
1
...
325
326
327
328
329
...
406
Filter public functions
1
Regular Expression
Python
r"
[
\n
]
+
\s
+
public
function
[
a
-
z
]
+
[
(
]
[
a
-
zA
-
Z0
-
9=',
]
+
[
)
]
\n
+
\s
+
[
{
]
\n
(
.
+
?
)
\n
+
\s
+
[
}
]
"
s
Open regex in editor
Description
It filters out the body of all public functions.
Submitted by
Sachin
-
8 years ago