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,000 community submitted regex patterns...
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
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
Registry of Starfleet vessels
PCRE (PHP <7.3)
Matches registry type and number of Starfleet vessels
Submitted by
Luca Mauri
-
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
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
Regex for C-style assignments
Golang
no description available
Submitted by
cemares
-
7 years ago
0
iOS Bundle ID
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
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
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
Pre last /
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
Bundle ID {} only
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
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
0
Test PN
PCRE (PHP <7.3)
Test policy number search
Submitted by
Bobby Campbell
-
7 years ago
0
Sieben grid filter validator
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Greek Phones
PCRE (PHP <7.3)
Matches any Greek Phone with 10 digits starting with '2' or '69'
Submitted by
Nick I. Kritikos
-
7 years ago
0
Script Tag in html
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
Sentence
Python
Matches every sentence in your string
Submitted by
anonymous
-
7 years ago
0
URL
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
1
...
135
136
137
138
139
...
900
Community Library Entry
1
Regular Expression
Python
r"
^
(?:
[
0
]
$
)?
(
(?:
\+
|
\-
)?
[
1
-
9
]
{1,3}
(?:
[
0
-
9
]
{1,2}
)?
(
,
[
0
-
9
]
{3}
)*
?
)?
$
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
9 years ago