Regular Expressions 101

Save & Share

Flavor

  • PCRE2 (PHP >=7.3)
  • PCRE (PHP <7.3)
  • ECMAScript (JavaScript)
  • Python
  • Golang
  • Java 8
  • .NET 7.0 (C#)
  • Rust
  • Regex Flavor Guide

Function

  • Match
  • Substitution
  • List
  • Unit Tests

Tools

Sponsors
There are currently no sponsors. Become a sponsor today!
An explanation of your regex will be automatically generated as you type.
Detailed match information will be displayed here automatically.
  • All Tokens
  • Common Tokens
  • General Tokens
  • Anchors
  • Meta Sequences
  • Quantifiers
  • Group Constructs
  • Character Classes
  • Flags/Modifiers
  • Substitution
  • A single character of: a, b or c
    [abc]
  • A character except: a, b or c
    [^abc]
  • A character in the range: a-z
    [a-z]
  • A character not in the range: a-z
    [^a-z]
  • A character in the range: a-z or A-Z
    [a-zA-Z]
  • Any single character
    .
  • Alternate - match either a or b
    a|b
  • Any whitespace character
    \s
  • Any non-whitespace character
    \S
  • Any digit
    \d
  • Any non-digit
    \D
  • Any word character
    \w
  • Any non-word character
    \W
  • Non-capturing group
    (?:...)
  • Capturing group
    (...)
  • Zero or one of a
    a?
  • Zero or more of a
    a*
  • One or more of a
    a+
  • Exactly 3 of a
    a{3}
  • 3 or more of a
    a{3,}
  • Between 3 and 6 of a
    a{3,6}
  • Start of string
    ^
  • End of string
    $
  • A word boundary
    \b
  • Non-word boundary
    \B

Regular Expression

/
/
gi

Test String

Code Generator

Generated Code

$re = '/(http(s?):)([\/|.|\w|\s|-])*\.(?:jpg|gif|png)/i'; $str = ' <!DOCTYPE html> <html> <meta name="viewport" content="width=device-width, initial-scale=0.75"> <head> <title>📲App Store on AppRaven</title> <link rel="stylesheet" type="text/css" href="style.css"> <link rel="stylesheet" type="text/css" href="collection.css"> <link rel="stylesheet" type="text/css" href="common/common.css"> <link rel="stylesheet" type="text/css" href="common/texts.css"> </head> <script> function openLink($id) { window.location = "https://appraven.net/apps/detail.php?appId=" + $id; } </script> <body> <div id="page-container"> <div id="content-wrap"> <header id="thinHeader"> <a href="/index.php"> <img src="../images/raven.png" alt="Raven" id="logoImage"> <span id="logoText">AppRaven</span> </a> </header> <div id="mainText" class="prettyText"> <a href="index.php" style="color: #1d1d1f"> <div id="collectionHeader"> <h1>📲App Store</h1><h4>26 Feb 2020 • by Christine Connor</h4><table cellspacing="0" id="socialHeaderTable"><tr><td><div class="socialNumberDiv likesDiv">67</div><div class="socialButtonDiv">Like</div></td><td><div class="socialNumberDiv watchDiv">63</div><div class="socialButtonDiv">Watch</div></td><td><img id="creatorImage" src="https://appraven.net/AppRaven/images?iid=5e5b5a844eacc33eb4d64982"></td></tr></table> </div> </a> <div class="hrDiv"></div> <div id="collectionInfoDiv" class="prettyText spacedText"><p>Apps that allow you to curate other apps or view app rankings. All pale in comparison to App Raven of course x) 🎧( Borgore &amp; Benda - Camo Diamond Rollie) if you’re down with the beats 😋</p></div> <div class="hrDiv"></div> <h1>83 Apps</h1> <table cellspacing="0" id="collectionTable"> <tr onclick="openLink(\'1519535864\');"><td><img class="appIcon" src="https://is5-ssl.mzstatic.com/image/thumb/Purple114/v4/46/ac/0b/46ac0bf7-3e6f-91da-6fc0-756862f73ad3/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Productivity</div><div class="appTitle">App Ranking App</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"></div><div class="ratingCountDiv">(1)</div></div><div class="likesDiv">▲8</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1519535864"><div class="lastPriceLabel">v1.1.0</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1067595203\');"><td><img class="appIcon" src="https://is2-ssl.mzstatic.com/image/thumb/Purple60/v4/e3/c8/4f/e3c84f40-ed24-795c-0c79-617a414203ae/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Shopping</div><div class="appTitle">App Portfolio - all apps in one place</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"></div><div class="ratingCountDiv">(3)</div></div><div class="likesDiv">▲1</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1067595203"><div class="lastPriceLabel">v1.4</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1517289195\');"><td><img class="appIcon" src="https://is5-ssl.mzstatic.com/image/thumb/Purple113/v4/76/71/6a/76716a29-d57e-c20a-0189-75ccd037e4ac/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">App Board - Collect Apps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"></div><div class="ratingCountDiv">(1)</div></div><div class="likesDiv">▲10</div><div class="dislikesDiv">▼2</div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1517289195"><div class="lastPriceLabel">v1.0</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1143375149\');"><td><img class="appIcon" src="https://is4-ssl.mzstatic.com/image/thumb/Purple113/v4/a0/19/69/a019699f-2ad3-d6d1-c672-2d95b4f528ca/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Productivity</div><div class="appTitle">Launcher Tag+</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(2)</div></div><div class="likesDiv">▲1</div><div class="dislikesDiv">▼1</div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1143375149"><div class="lastPriceLabel">v1.2.4</div><div class="priceLabel updateS">Free<div class=\'IAPbadge\'>+</div></div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1381108146\');"><td><img class="appIcon" src="https://is5-ssl.mzstatic.com/image/thumb/Purple124/v4/88/1b/59/881b59ac-5b0e-a176-d92b-ebb8fabe4bda/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">The App List</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"></div><div class="ratingCountDiv">(48)</div></div><div class="likesDiv">▲22</div><div class="dislikesDiv">▼1</div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1381108146"><div class="lastPriceLabel">v1.2</div><div class="priceLabel updateB">Free<div class=\'IAPbadge\'>+</div></div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'488613223\');"><td><img class="appIcon" src="https://is1-ssl.mzstatic.com/image/thumb/Purple/v4/ab/1e/f8/ab1ef8a2-b852-91f7-ec66-37b582edc8cc/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Reference</div><div class="appTitle">AppStart for iPhone</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"></div><div class="ratingCountDiv">(245)</div></div><div class="likesDiv">▲5</div><div class="dislikesDiv"></div><div class="commentCountDiv">🗨1</div></td><td><a href="https://appraven.net/apps/detail.php?appId=488613223"><div class="lastPriceLabel">Jan \'12</div><div class="priceLabel new">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'429644051\');"><td><img class="appIcon" src="https://is2-ssl.mzstatic.com/image/thumb/Purple/v4/8b/21/e2/8b21e2bb-45ff-fc43-5c91-5db154b43c68/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Lifestyle</div><div class="appTitle">Free App Magic - Get Paid Apps For Free Every Day</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"></div><div class="ratingCountDiv">(3.81K)</div></div><div class="likesDiv">▲1</div><div class="dislikesDiv">▼1</div><div class="commentCountDiv">🗨1</div></td><td><a href="https://appraven.net/apps/detail.php?appId=429644051"><div class="lastPriceLabel">v1.4.1</div><div class="priceLabel updateN">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'424797519\');"><td><img class="appIcon" src="https://is3-ssl.mzstatic.com/image/thumb/Purple115/v4/80/cb/c9/80cbc976-0c1a-8b55-ef74-ef773c8799e2/contsched.ofkvbndd.png/124x124bb-70.jpeg"></td><td width="99%" class="appInfoCell"><div class="genre">Lifestyle</div><div class="appTitle">I Like FREE Apps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"></div><div class="ratingCountDiv">(357)</div></div><div class="likesDiv">▲5</div><div class="dislikesDiv">▼2</div><div class="commentCountDiv">🗨4</div></td><td><a href="https://appraven.net/apps/detail.php?appId=424797519"><div class="lastPriceLabel">v3.1</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">iPhone</div></a></td></tr><tr onclick="openLink(\'685047323\');"><td><img class="appIcon" src="https://is5-ssl.mzstatic.com/image/thumb/Purple18/v4/92/fd/62/92fd626e-27f8-57db-d8ec-07d1cf2f7e0a/mzl.yxmivsya.jpg/124x124bb-70.jpeg"></td><td width="99%" class="appInfoCell"><div class="genre">Social Networking</div><div class="appTitle">AppBullseye</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(6)</div></div><div class="likesDiv">▲4</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=685047323"><div class="lastPriceLabel">v2.4.1</div><div class="priceLabel updateN">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'602522782\');"><td><img class="appIcon" src="https://is1-ssl.mzstatic.com/image/thumb/Purple117/v4/97/10/82/971082f0-1c8e-5585-6a8f-cef7cafe35c0/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">AppShopper Social</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(342)</div></div><div class="likesDiv">▲8</div><div class="dislikesDiv"></div><div class="commentCountDiv">🗨6</div></td><td><a href="https://appraven.net/apps/detail.php?appId=602522782"><div class="lastPriceLabel">v1.1</div><div class="priceLabel updateS">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1510342198\');"><td><img class="appIcon" src="https://is3-ssl.mzstatic.com/image/thumb/Purple113/v4/f0/5e/c6/f05ec6c5-56c4-ed20-bece-ed2c665b5f63/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">App Wishlist</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"></div><div class="ratingCountDiv">(8)</div></div><div class="likesDiv">▲15</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1510342198"><div class="lastPriceLabel">May \'20</div><div class="priceLabel new">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1491697944\');"><td><img class="appIcon" src="https://is2-ssl.mzstatic.com/image/thumb/Purple114/v4/60/bf/f3/60bff3a8-18db-4ede-cefa-2696ac7d49e0/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Business</div><div class="appTitle">Keyword Plus by ReverseAds</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(22)</div></div><div class="likesDiv">▲3</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1491697944"><div class="lastPriceLabel">v1.8</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'409587589\');"><td><img class="appIcon" src="https://is5-ssl.mzstatic.com/image/thumb/Purple6/v4/2a/54/97/2a549763-6460-aace-e646-7f1ad178edd7/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">App Ocean</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(14)</div></div><div class="likesDiv">▲4</div><div class="dislikesDiv"></div><div class="commentCountDiv">🗨1</div></td><td><a href="https://appraven.net/apps/detail.php?appId=409587589"><div class="lastPriceLabel">v3.0</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'441600681\');"><td><img class="appIcon" src="https://is5-ssl.mzstatic.com/image/thumb/Purple5/v4/fc/a6/bc/fca6bc2b-5c37-09e8-5e23-8d37bfe6ce0e/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Education</div><div class="appTitle">Autism Apps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(18)</div></div><div class="likesDiv">▲2</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=441600681"><div class="lastPriceLabel">v2.6</div><div class="priceLabel updateS">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'605797361\');"><td><img class="appIcon" src="https://is2-ssl.mzstatic.com/image/thumb/Purple18/v4/26/47/47/26474718-0c42-8a77-537e-5c74643231fd/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Entertainment</div><div class="appTitle">My Apps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"></div><div class="ratingCountDiv">(2)</div></div><div class="likesDiv"></div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=605797361"><div class="lastPriceLabel">v3.1</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'498504144\');"><td><img class="appIcon" src="https://is3-ssl.mzstatic.com/image/thumb/Purple/v4/60/6f/e7/606fe70d-8d44-1ba7-b0ae-20f270f41f5e/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">Apps Gratis - Free Apps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/half.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(3)</div></div><div class="likesDiv">▲1</div><div class="dislikesDiv">▼1</div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=498504144"><div class="lastPriceLabel">v1.3</div><div class="priceLabel updateS">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'765090260\');"><td><img class="appIcon" src="https://is5-ssl.mzstatic.com/image/thumb/Purple1/v4/78/35/a2/7835a28a-71f7-5ecd-44f7-946bfbee2e58/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Shopping</div><div class="appTitle">Georgian Apps - GeoApps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv">(9)</div></div><div class="likesDiv"></div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=765090260"><div class="lastPriceLabel">v2.0</div><div class="priceLabel updateS">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'973038996\');"><td><img class="appIcon" src="https://is3-ssl.mzstatic.com/image/thumb/Purple113/v4/df/2f/6c/df2f6c30-266f-38af-897c-06b4c8fd72fd/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">Happy Apps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"><img class="ratingStar" src="/rating_stars/full.png" alt="star"></div><div class="ratingCountDiv">(2)</div></div><div class="likesDiv">▲1</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=973038996"><div class="lastPriceLabel">v1.5</div><div class="priceLabel updateT">Free</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1489957798\');"><td><img class="appIcon" src="https://is1-ssl.mzstatic.com/image/thumb/Purple123/v4/88/d0/77/88d0777a-7bad-a3bc-1c0d-de7cfc8c1626/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Utilities</div><div class="appTitle">BytePai</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv"></div></div><div class="likesDiv">▲3</div><div class="dislikesDiv"></div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1489957798"><div class="lastPriceLabel strikethrough">$1.99</div><div class="priceLabel sale">$0.99</div><div class="deviceLabel">Universal</div></a></td></tr><tr onclick="openLink(\'1208003510\');"><td><img class="appIcon" src="https://is2-ssl.mzstatic.com/image/thumb/Purple127/v4/d6/8f/71/d68f7161-5761-0925-b621-45ad0c2edded/source/100x100bb.jpg"></td><td width="99%" class="appInfoCell"><div class="genre">Reference</div><div class="appTitle">8Apps</div><div class="ratingBothDiv"><div class="ratingDiv"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"><img class="ratingStar" src="/rating_stars/empty.png" alt="star"></div><div class="ratingCountDiv"></div></div><div class="likesDiv">▲1</div><div class="dislikesDiv">▼1</div><div class="commentCountDiv"></div></td><td><a href="https://appraven.net/apps/detail.php?appId=1208003510"><div class="lastPriceLabel">v2.0</div><div class="priceLabel updateH">Free</div><div class="deviceLabel">Universal</div></a></td></tr> </table> <div class="hrDiv"></div> <table id="pageControlTable"><tr><td></td><td>1 / 5</td><td><a href="collection.php?listId=5e567a444eacc33eb4d647b9&page=1"><img src="images/arrow-right.svg" width="40pt"></a></td></tr></table><div id="moreInAppRavenDiv" class="prettyText"> <a href="https://apps.apple.com/us/app/id1490607195" class="prettyText"> <img src="/images/raven-icon.jpg" class="appIcon"> <h3>See more in the official AppRaven app</h3> <p>Get paid apps for free every day!</p> <p>Daily apps on sale</p> <p>Create your wish list</p> <p>Rate and comment</p> <p>User created collections</p> <p>And much more!</p> <img src="/images/triptich.jpg" alt="Screenshots" id="triptich"> </a> <a href="https://apps.apple.com/us/app/id1490607195"> <img id="appStoreButton" src="../images/appstore.svg" alt="appstore button"> </a> <br> <a href="/index.php">More...</a> </div> </div> </div> <style> body { position: relative; } footer, footer a { color: #86868b; text-decoration: none; } footer { position: absolute; bottom: 0; height: 50pt; background-color: #f5f5f7; width: 100%; } footer div { position: absolute; top: 50%; font-size: 11pt; text-align: center; width: 100%; -ms-transform: translateY(-50%); transform: translateY(-50%); box-sizing: border-box; padding: 0 10pt; } </style> <footer> <div>© 2019-2020 AppRaven Team | <a href="/terms.html">Terms of Use</a> | <a href="/privacy.html">Privacy Policy</a> | <a href="/support.html">Support</a></div> </footer> <div id="viewInAppRavenDiv"> <a href="https://appraven.net/openLink.php?stay=1&listId=5e567a444eacc33eb4d647b9"> <div class="hrDiv" style="margin: 0"></div> <table id="viewInAppRavenTable"> <tr> <td><img class="appIcon" src="/images/raven-icon.jpg" alt="app icon"></td> <td><h2>View in AppRaven for iOS</h2></td> <td><div id="getAppRavenDiv">OPEN</div></td> </tr> </table> </a> </div> <script> const iOS = !!navigator.platform && /iPad|iPhone|iPod/.test(navigator.platform); const x = document.getElementById("viewInAppRavenDiv"); if (!iOS) { x.style.display = "none"; } </script></div> </body> </html> '; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result var_dump($matches);

Please keep in mind that these code samples are automatically generated and are not guaranteed to work. If you find any syntax errors, feel free to submit a bug report. For a full regex reference for PHP, please visit: http://php.net/manual/en/ref.pcre.php