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 17,980 community submitted regex patterns...
1
Crop mikrotik neighbor lines
PCRE (PHP <7.3)
no description available
Submitted by
neilius + Captain_Haddock
-
9 years ago
-2
twitter ids
ECMAScript (JavaScript)
no description available
Submitted by
jaybill
-
9 years ago
1
inline-sub-via-sed
PCRE (PHP <7.3)
regex for inline substitution w/ sed
Submitted by
anonymous
-
9 years ago
1
Caculator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Regex_Article
PCRE (PHP <7.3)
Start with two letters and followed by any number of Integers
Submitted by
S
-
9 years ago
1
Select any decimal
PCRE (PHP <7.3)
With this pattern possible select decimal that cantain comma or space
Submitted by
natan
-
9 years ago
1
2013b
ECMAScript (JavaScript)
no description available
Submitted by
dror
-
9 years ago
1
Phone number tests
PCRE (PHP <7.3)
Test a given string for phone number variations and extract th parts.
Submitted by
anonymous
-
9 years ago
1
match block apache
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Emoji chars
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Limpar caracteres telefone
Python
Limpa os caracteres especiais e letras de um telefone imputado
Submitted by
anonymous
-
9 years ago
0
Find array ending with comma
PCRE (PHP <7.3)
Useful for finding array error. Example: {'id':'1','name':'test',} Finds the ",}" from the example
Submitted by
anonymous
-
9 years ago
1
const uint8_t T_SYN_3 23
PCRE (PHP <7.3)
const uint8_t T_SYN_3 23 to const uint8_t T_SYN_3 = 23;
Submitted by
Big Chuck Dawg
-
9 years ago
1
#define const_value 4
PCRE (PHP <7.3)
#define const_value 4 to const uint8_t const_value 4
Submitted by
Big Chuck Dawg
-
9 years ago
1
URL de playlist de salvavinilos.org
Python
URL de playlist de salvavinilos.org
Submitted by
anonymous
-
9 years ago
-2
Select the numeric part of a price following an ascii dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Q_Property
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
OS Grid Reference
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
replicated pageContent id within a div
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
108
109
110
111
112
...
899
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