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
Detect all HTML tags
PCRE (PHP <7.3)
This RegExp will find any and everything that's an HTML tag, and ignore the contents inside of it. (sorry if this already exists, I'm new to the site and I'm having a lot of fun with RegExp... so here's my version!)
Submitted by
William Ramsey
-
8 years ago
0
Javascript Comments
ECMAScript (JavaScript)
This covers both // styled comments as well as comments between /* and */. Supports multiline as well. Enjoy
Submitted by
William Ramsey
-
8 years ago
0
Info o filmu
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
How to get AC, Tax_id, optionally VAR_SEQ, and Sequence?
Python
1) (?ms)ID\s+.?^AC\s+(\w+);.?^OX\s+NCBI_TaxID=(\d+).?(?#how to optionally capture group ^FT\s+VAR_SEQ.?\/FTId=\w+\. ).?^\s{5}(.?)// 2) (?ms)(FT\s+VAR_SEQ.*?\/FTId=\w+\.) (1) can give AC, Tax_id and Sequence and these 3 fields are always present in an Entry, but VAR_SEQ field is optional. (2) gives ...
Submitted by
anonymous
-
8 years ago
0
YouTube Video URL Matcher
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Hex String
ECMAScript (JavaScript)
no description available
Submitted by
Tiago de Pádia
-
8 years ago
0
RegexForSplitStringUsingRegex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Url brochure met utm
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
My lib
ECMAScript (JavaScript)
no description available
Submitted by
Marc
-
8 years ago
0
DisSection_Parser
PCRE (PHP <7.3)
no description available
Submitted by
zhaDe
-
8 years ago
0
Add a nonce for inline scripts (CSP, nginx)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
final2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
SCHEMA.TABLE_NAME|Primary_key (x (x+n)?)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
final
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
attr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Schema.Table_name | \ \*\
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
FROM\ SCHEMA(.TABLE_NAME)?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Schema.Table_name | \ \*\
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Decimal type check for view column
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
International Phones Validation
ECMAScript (JavaScript)
I don't know how many times I found some regex online that just didn't work. Finally decided to write my own that actually works for some of our customers around the world.
Submitted by
Alexei Yagolnikov
-
8 years ago
1
...
605
606
607
608
609
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
;@
\[
\h
*
(
[
a
-
fA
-
F0
-
9
]
{6}
)
\h
*
-
\h
*
(
[
a
-
fA
-
F0
-
9
]
{6}
)
\h
*
]
\h
*
(
\w
*
)
\h
*
(
[
a
-
fA
-
F0
-
9
]
{0,6}
)
\h
*
(
[
a
-
fA
-
F0
-
9
]
{0,6}
)
\h
*
(
[
a
-
fA
-
F0
-
9
]
{0,6}
)
$
/
gmx
Open regex in editor
Description
no description available
Submitted by
zhaDe
-
8 years ago