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 12,780 community submitted regex patterns...
0
points ||
PCRE (PHP <7.3)
last sequence of numbers either starting with pts Pts or Overall Score
Submitted by
anonymous
-
4 years ago
0
Cohort 4 EMAIL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
0
Basic URL validation
ECMAScript (JavaScript)
Just a basic URL validation regular expression. Most recommend you use the URL input type in HTML5
Submitted by
anonymous
-
4 years ago
0
Ip matching
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Validate and extract different color models
ECMAScript (JavaScript)
Validate and extract #HEX, rgb() and rgba() values
Submitted by
anonymous
-
4 years ago
0
IncludeToUpper
PCRE (PHP <7.3)
to change include files to uppercase
Submitted by
anonymous
-
4 years ago
0
Extract project_ids
PCRE (PHP <7.3)
Extract project_ids
Submitted by
anonymous
-
4 years ago
0
forAllWorkToIll
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Two initials
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Real Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
match start of string that does not start with 'http' or is empty
PCRE (PHP <7.3)
Used this to help with the migration of urls that did not begin with with an http or https protocol.
Submitted by
anonymous
-
4 years ago
0
8到20位字母数字符号密码
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
AutoItString
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Flex Decimals
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
well formed comment match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Comments without internal nested comments
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Ill formed comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
Match emojis in source
ECMAScript (JavaScript)
Use to match source text emojis.
Submitted by
anonymous
-
4 years ago
0
Absolute path 2 filename
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
0
find remote tracking repo in 'git branch -a' output
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
1
...
564
565
566
567
568
...
639
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