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 5,660 community submitted regex patterns...
0
allow Cyrillic and latin alphabets, no special charcters
ECMAScript (JavaScript)
allows email, text and numbers in latin and cyrillic alaphbets.but prevents special charcters: Hello, example@mail.com Меня зовут Боб
Submitted by
Kez
-
9 years ago
0
US Telephone number
ECMAScript (JavaScript)
Regex for validating us telephone number as per freecodecamp testcases-
Submitted by
Yashdeep Hinge
-
9 years ago
0
"^\d*\.?((25)|(50)|(5)|(75)|(0)|(00))?$"
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
href parse v2
ECMAScript (JavaScript)
matches href, title, innerhtml
Submitted by
chrysls
-
9 years ago
0
UK Postcode
ECMAScript (JavaScript)
Tests UK Postcode with alternative for Postcode Prefix
Submitted by
Calvin Willman
-
9 years ago
0
Last SEO RegExp
Python
Last SEO RegExp
Submitted by
Jay Patel
-
9 years ago
0
text validation
ECMAScript (JavaScript)
allows white spaces, -, Umlaut and ß
Submitted by
anonymous
-
9 years ago
0
Apache Log Format Parser
Python
no description available
Submitted by
anonymous
-
9 years ago
0
exclude a list of words
Python
exclude a list of words, in this case, "hello" and "you"
Submitted by
Z
-
9 years ago
0
At least 8 chars, at least a Mayus or special char & at least a number
ECMAScript (JavaScript)
no description available
Submitted by
Luis Arias :D
-
9 years ago
0
Check That User Has Input Valid YYYY
ECMAScript (JavaScript)
This simple regex checks if a user has input correct YYYY format.
Submitted by
@izotope115
-
9 years ago
0
Validates Against YYYY
ECMAScript (JavaScript)
This regex checks if a user has input 4 digit year integer.
Submitted by
@izotope115
-
9 years ago
0
ContentPlace Xml Tag
ECMAScript (JavaScript)
ContentPlace Xml Tag
Submitted by
Saeed Tabrizi
-
9 years ago
0
Regex Fecha yyyy-MM-dd
ECMAScript (JavaScript)
valida fechas de 19## a 20##, en formato yyyy-MM-dd
Submitted by
http://www.regular-expressions.info/dates.html
-
9 years ago
0
Payment process
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
get lowercase letters
ECMAScript (JavaScript)
get lowercase letters
Submitted by
jho
-
9 years ago
0
Workspaces
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Workspace case insensitive
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
Website url maxLength 50
ECMAScript (JavaScript)
no description available
Submitted by
Josiah
-
9 years ago
0
Match special characters excl. unicode accented, _, -, and whitespace
ECMAScript (JavaScript)
Covers Latin-1 Supplement Latin Extended-A Latin Extended-B Greek and Coptic
Submitted by
anonymous
-
9 years ago
1
...
112
113
114
115
116
...
283
Community Library Entry
0
Regular Expression
Python
r"
(
```
|
`
)
(
python
)?
\s
*
?
\n
?
(
from
\S
+
)?
import
\S
+
(
\n.
*
?
;
)*
\n
(
(
.
*
return
\S
+
```
)
|
(
`return
\S
+
`
)
)
"
gm
Open regex in editor
Description
A regex that matches comments that adhere to the rules of r/ProgrammerHumor
Submitted by
anonymous
-
a year ago