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,040 community submitted regex patterns...
0
Organization from lines
PCRE (PHP <7.3)
Reading organization line by line, regex for one line 1: 2, 3,4, 5
Submitted by
anonymous
-
7 years ago
1
Match text inside of single/double quotes, mysql identifier tokens(`)(ignore escaped nested quotes)
PCRE (PHP <7.3)
Verbose, somewhat cryptic and very efficient pattern to match all text inside of quotes and MySQL identifier tokens.
Submitted by
Phillip Weber
-
7 years ago
0
iOS multiple bundle IDs separated by , and starting and ending with {}
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Bundle ID {} only
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
iOS Bundle ID starts and ends with { }
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Post last /
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Pre last /
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
homepage_finder
Python
this regexp will extract the homepage from an url; it will factor in the "www" if there is one, and it will accept a slash at the end
Submitted by
anonymous
-
7 years ago
0
iOS Bundle ID
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Regex for C-style assignments
Golang
no description available
Submitted by
cemares
-
7 years ago
0
regex to find all types of youtube occurences in html
PCRE (PHP <7.3)
this will find any type of youtube embed or link to a video so you can replace with your own IFRAME $youtube_replacement = '';
Submitted by
anonymous
-
7 years ago
0
extract most parts of possible <IMG> tag attributes (Oren Wassersprung)
PCRE (PHP <7.3)
this reg will extract: "content" of SRC "content" of ALT complete width="???" "content" of style attr. ...
Submitted by
anonymous
-
7 years ago
0
Registry of Starfleet vessels
PCRE (PHP <7.3)
Matches registry type and number of Starfleet vessels
Submitted by
Luca Mauri
-
7 years ago
0
multiple in between regex
PCRE (PHP <7.3)
this helps to extract the start and end tag but even if in between the start appears again.. it just captures the first start and the next occurence of end tag. only thing missing is i want to include the end of the line of the end tag
Submitted by
anonymous
-
7 years ago
0
Brackets
PCRE (PHP <7.3)
Task from check.io. You are given an expression with numbers, brackets and operators. For this task only the brackets matter. Brackets come in three flavors: "{}" "()" or "[]". Brackets are used to determine scope or to restrict some expression. If a bracket is open, then it must be closed with a c...
Submitted by
anonymous
-
7 years ago
0
Operator with Number
PCRE (PHP <7.3)
no description available
Submitted by
Kgunner
-
7 years ago
0
Regex to match positive or negative number or empty string, but not '-' alone
ECMAScript (JavaScript)
no description available
Submitted by
myth
-
7 years ago
0
pde-member
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Alternative to "Current Error" Lookbehind
PCRE (PHP <7.3)
Regex original: (?<!Current\s)Error: Porém expect4j utiliza classes de regex do Apache Oro, que não possuem suporte para lookbehind.
Submitted by
Patrick Bard
-
7 years ago
0
RegexA-Z
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
548
549
550
551
552
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
\d
{3}
)
@
.
*
?
@
(
\d
{3}
)
-
(
\d
{3}
)
-
(
\d
{4}
)
\s
+
(
\d
{2}
:
\d
{2}
:
\d
{2}
)
\s
(
\d
{8}
)
@
(
.
*
?
)
@
(
.
*
?
)
(
[
WV
]
.
{3}
)
@
(
.
*
?
)
@
(
.
*
?
)
LEC
\s
(
.
*
?
)
@
(
.
{29}
)
(
[
A
-
Z
]
{2}
)
@
(
.
*
?
)
@
.
*
?
ESN
(
.
*
?
)
@P#
(
.
{12}
)
.
*
?
ALT#
(
\d
{3}
)
-
(
\d
{3}
)
-
(
\d
{4}
)
@X
(
.
{11}
)
.
*
?
Y
(
.
{11}
)
(
.
*
?
)
@
(
.
*
?
)
@
(
.
*
?
)
@
(
.
*
?
)
(
.
*
?
)
@
(
.
*
?
)
@
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago