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,020 community submitted regex patterns...
0
Mascara para CPF
PCRE (PHP <7.3)
const cpfMask = (cpf) => { if (/[a-zA-Z]|\W/.test(cpf)) { return cpf.replace(/[a-zA-Z]|\W/, ""); } ...
Submitted by
coderpy
-
6 years ago
0
Find only matching quotes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
(Last modified 3 years ago)
0
Remove invalid phone codes from phonenumber field
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Remove invalid phone codes from phonenumber field
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Work, Episode In Quotes Capture
PCRE (PHP <7.3)
Helping Jeanne
Submitted by
anonymous
-
6 years ago
0
XH1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Tokenize japanese sentences
Python
no description available
Submitted by
anonymous
-
6 years ago
0
XH2
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
XV1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Xv2-1080
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
pr
PCRE (PHP <7.3)
x
Submitted by
anonymous
-
6 years ago
0
Dividir participantes Tesis Laura
Python
Los participantes siempre son tres caracteres mayúsculas entre ` y : , por tanto: \\[A-Z]{3}:. Sin embargo, como la función separate de r elimina el elemento separador, que es el resultado del regex, hay que usar un positive lookbehind (?<=...)` para que use como separador lo que sigue a continuació...
Submitted by
anonymous
-
6 years ago
0
words.com /post/find/id
PCRE (PHP <7.3)
Used to find individual posts by id
Submitted by
anonymous
-
6 years ago
0
Xhams1
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Xvid1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
LIntalist bundle parser test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
find all while ignoring a set of patterns
Python
This can be changed to find all characters upto a specific pattern as well by changing the \b at the start to a simple ^. This is useful if you want to limit your regex searches in a manner such that two pattern cases do not overlap (as regex does not currently handle overlap of cases when you cha...
Submitted by
anonymous
-
6 years ago
0
UK Postcodes
PCRE (PHP <7.3)
no description available
Submitted by
Riaan Joubert
-
6 years ago
0
Run Test UUID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Message Log
Golang
no description available
Submitted by
anonymous
-
6 years ago
1
...
172
173
174
175
176
...
901
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
window
\.
player
\s
\=
\s
new
\s
XPlayerMobile
\(\"
video
\_
box
\"\,
\s
\{\"
videoId
\"\:
[
a
-
zA
-
Z0
-
9
]
+
\,\"
poster
\"\:\"
)+
(
.
*
?
)+
(?=
\,\"
userSettings
\"\:\{\"
override
\"\:\{\"
autoplay
\"\:
false
\}\}\,\"
debug
\"\:
false
\}\,
\s
pluginSettings
\)\;
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago