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
Strip Azure Devops merge commit for fit changelog
PCRE (PHP <7.3)
Using the right headerPattern that can correctly parse either the merge message or the commit message I was able to workaround the issue
Submitted by
anonymous
-
3 years ago
0
JSON string
Python
Can process a JSON string
Submitted by
Mass
-
3 years ago
(Last modified 3 years ago)
0
Domain Matching
Python
Avoids false positives
Submitted by
Sly
-
3 years ago
(Last modified 3 years ago)
0
Godot REPL Plugin - (String Literal) Load Expression
ECMAScript (JavaScript)
Loose matching of load statements, capturing the path parameter in the path capture group. load('./scene.tscn') load('path/to/resource.tres') load("path/to/file.gd") `
Submitted by
disk0__
-
3 years ago
0
json digit
Python
parses a json digit such as: 1, 1.0, -1, -1.0, -1.0E-1, etc.. rejects digits such as: ...
Submitted by
Mass
-
3 years ago
0
instagram regex url get shortcode all type url
PCRE (PHP <7.3)
Get shortcode from all type instagram url group 1 for username group 2 for p group 3 for reel group 4 for tv...
Submitted by
anubiskun
-
3 years ago
0
HTML Scraping: Yelp Reviews
Python
'''(\d).[\s\S]?([\s\S]?)[\s\S]?title="(\d.\d)[\s\S]?(\d)\sreviews[\s\S]?range">(\$)'''gm
Submitted by
anonymous
-
3 years ago
0
Match russian word including one and only one upper
PCRE2 (PHP >=7.3)
With DEFINE using
Submitted by
piterden
-
3 years ago
0
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
3 years ago
0
css filter property
ECMAScript (JavaScript)
Extracting functions from filter css property https://developer.mozilla.org/en-US/docs/Web/CSS/filter
Submitted by
Roko
-
3 years ago
0
PhoneNumbers with special characters
Python
This will help with phone numbers where you want the numbers but not necessarily all the special characters
Submitted by
anonymous
-
3 years ago
0
Validate Phone number
Python
Validate Phone number
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
Capturing Group for IP
PCRE2 (PHP >=7.3)
Capturing group for an IP address - simple - Just looks for digits.
Submitted by
George Fitz
-
3 years ago
0
Cloudwatch Insights ENI Flow Logs
ECMAScript (JavaScript)
This will pull out the source, destination IP addresses and the destination port from a default ENI flow log entry.
Submitted by
Abram Flansburg
-
3 years ago
(Last modified 3 years ago)
0
url-selection
PCRE2 (PHP >=7.3)
url-selection
Submitted by
anonymous
-
3 years ago
0
german locale regex
PCRE2 (PHP >=7.3)
Matches locales with german language
Submitted by
anonymous
-
3 years ago
0
Mick Find Image
PCRE2 (PHP >=7.3)
Finds stuff like 01 Image.. or 01 Image.
Submitted by
anonymous
-
3 years ago
0
select product
PCRE2 (PHP >=7.3)
select product
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
0
FindQuoteDiv
PCRE2 (PHP >=7.3)
FindQuoteDiv
Submitted by
anonymous
-
3 years ago
0
regex-symbols
ECMAScript (JavaScript)
Regex symbols emoji
Submitted by
Thaile
-
3 years ago
1
...
420
421
422
423
424
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
<div
class="card-photo
bbox">
\s
*
<div
class="card-photo__border
clear">
\s
*
<h1
itemprop="name">
(?'TITLE'
.
*
)
<
\/
h1>
\s
*
<div
class="v-code">Артикул:
<span
itemprop="productID">
(?'VENDOR_CODE'
.
*
)
<
\/
span><
\/
div>
\s
*
<a
class="sample
margin-0
fancybox"
href="
(?'PHOTO'
.
*
)
"
title="
.
*
"><img
itemprop="image"
src="
.
*
"
alt="
.
*
"
title="
.
*
">
\s
*
<
\/
a>
\s
*
<
\/
div>
\s
*
<
\/
div>
.
*
<div
class="param
bbox">
\s
*
<div
itemprop="offers"
itemscope
itemtype="http:
\/\/
schema
\.
org
\/
Offer"
class="params
bbox">
.
*
<div
class="param__price
margin-0">
\s
*
<ul>
\s
*
<li
class="clear">
\s
*
<div
class="left">Цена:<
\/
div>
\s
*
<div
class="right
price">
.
*
<span
id="
.
*
"><span
itemprop="price"
content="
(?'PRICE'
\d
*
)
">
.
*
<
\/
span>
руб
\.
<
\/
span>
\s
*
<meta
itemprop="priceCurrency"
content="RUB">
\s
*
<
\/
div>
\s
*
<
\/
li>
.
*
\s
*
<div
class="params
bbox">
\s
*
<div
class="charact">
\s
*
<div
class="h3">Основные
характеристики<
\/
div>
\s
*
<ul>
.
*
(?:
\s
*
<li>
\s
*
<div
class="left">Серия<
\/
div>
\s
*
<div
class="right">
\s
*
<a
href="
.
*
">
(?'SERIES'
.
*
)
<
\/
a>
\s
*
<
\/
div>
\s
*
<
\/
li>
)?
(?:
\s
*
<li>
\s
*
<div
class="left">Бренд<
\/
div>
\s
*
<div
class="right">
\s
*
<span
itemprop="brand"><a
href="
.
*
">
(?'MANUFACTURER'
.
*
)
<
\/
a><
\/
span>
\s
*
<
\/
div>
\s
*
<
\/
li>
)?
.
*
\s
*
<
\/
ul>
\s
*
<
\/
div>
\s
*
<
\/
div>
/
suU
Open regex in editor
Description
no description available
Submitted by
anonymous
-
7 years ago