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
Community Patterns
Search among 12,800 community submitted regex patterns...
-2
strip text enclosed in parentheses that does not match any keyword(s)
PCRE (PHP <7.3)
strip or remove parentheses enclosed text - including the parentheses itself - only if the enclosed text does not contain any of the FULL keyword(s). Leave all parentheses enclosed text if it contains any keyword(s) listed in the regex string. Uses negative lookahead and \b for determining word boun...
Submitted by
marie bacuno
-
9 years ago
1
CSS instructions
PCRE (PHP <7.3)
Find everything between {}
Submitted by
anonymous
-
9 years ago
2
Password Enforcement Pattern -- trailing pattern
PCRE (PHP <7.3)
This RegEx was posted on a Ruby site as one for enforcing password pattern. I added {8,32} to limit the length of the password, even though I realize no one has passwords longer than that. Rules: at least 1 digit, 1 special character (as defined), 1 upper case and 1 lower case character, between 8 a...
Submitted by
Dave Phillips
-
9 years ago
1
Cleveland, OH
ECMAScript (JavaScript)
CLeveland, OH ||| SanDiego, CA this regex will pick up on those
Submitted by
anonymous
-
9 years ago
2
Get video parameters from many video services at once
ECMAScript (JavaScript)
supported youtube, vimeo, face liveleak, break, ebaums, facebook support url and iframes
Submitted by
Misthero
-
9 years ago
1
Test
PCRE (PHP <7.3)
Tralala
Submitted by
Tralala
-
9 years ago
1
q3df visname tester
PCRE (PHP <7.3)
www.q3df.org profil visname regex tester
Submitted by
nightmare
-
9 years ago
1
science on saturday 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
4
utf-8 hex.
PCRE (PHP <7.3)
utf-8 hex. code armenian. Firs character regexp
Submitted by
Dyxx
-
9 years ago
1
bla
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match all {{}} string
PCRE (PHP <7.3)
Easily match the {{}} string for web developper MVC.
Submitted by
Yannick Elusue
-
9 years ago
1
Simple Date regex
ECMAScript (JavaScript)
With format dd/MM/yyyy
Submitted by
Magador
-
9 years ago
0
HTML5 time entry regex
ECMAScript (JavaScript)
This regex can be used within a HTML5 input tag to ensure a time has been entered correctly such as 23:40 or 11:40 PM.
Submitted by
Scott Mebberson
-
9 years ago
2
strip parentheses enclosed text with no keywords
PCRE (PHP <7.3)
strip parentheses enclosed text with no keywords - handles nested parentheses - if using brackets/braces normalize string to parentheses then use the regex
Submitted by
marie bacuno
-
9 years ago
-2
Extract email client inserted "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients add this line, call it "sender wrote" to reply emails.
Submitted by
Vlad Burca
-
9 years ago
1
Extract email client inserted reply line "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients insert the "sender wrote" line to email replies.
Submitted by
Vlad Burca
-
9 years ago
-2
Name
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
9 years ago
1
Css Splitter
PCRE (PHP <7.3)
Splits the css code into two blocks. (comments|selector block)
Submitted by
@Silent_Coder
-
9 years ago
1
match arguments similar to shell, supports quoted string
ECMAScript (JavaScript)
first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.
Submitted by
anonymous
-
9 years ago
1
BIGipServerPool Parsing
PCRE (PHP <7.3)
Parse for the BIGipServerPool set by F5 load balancers
Submitted by
Nathan Baker
-
9 years ago
1
...
602
603
604
605
606
...
640
Error in Refex
2
Regular Expression
ECMAScript (JavaScript)
/
\d
+
[
.,
]
?
(
\d
+
\s
*
k
?
|
x
{2,3}
)
(?=
\s
*
(
original
|
actual
|
highway
)?
\s
*
miles
)
|
(?<=
mile
(
s
|
agex
?
)
:
?
\s
*
(
is
|
~
)?
\s
*
)
\d
+
[
.,
]
?
(
\d
+
(
\s
*
k
)?
|
x
{2,3}
)
|
(
\d
+
(
\s
*
K
)
|
x
{2,3}
)
/
i
Open regex in editor
Description
no description available
Submitted by
anonymous
-
11 years ago