Regular Expressions 101

Save & Share

  • Regex Version: ver. 1
  • Update Regex
    ctrl+⇧+s
  • Save new Regex
    ctrl+s
  • Add to Community Library

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
No Match

r"
"
g

Test String

Code Generator

Generated Code

import Foundation let pattern = #"(?si)<[\w:]+(?=(?:[^>\"']|\"[^\"]*\"|'[^']*')*?(?<=\s)href\s*=\s*(?:(['\"])\s*(((?!mailto:)(?:(?:https?|ftp)://)?(?:(?:(?!\1)\S)+(?::(?:(?!\1)\S)*)?@)?(?:(?:[a-z\u00a1-\uffff0-9]-?)*[a-z\u00a1-\uffff0-9]+)(?:\.(?:[a-z\u00a1-\uffff0-9]-?)*[a-z\u00a1-\uffff0-9]+)*?\.onion\b)(?:(?!\1).)*?)\s*\1))\s+(?:\".*?\"|'.*?'|[^>]*?)+>"# let regex = try! NSRegularExpression(pattern: pattern) let testString = ##""" <a href="http://darkweba6le5w52w.onion">Onion Address <i class="fa fa-angle-double-right"></i><span class="onion">darkweba6le5w52w.onion</span></a></li></ul></div></div><div class="td-header-sp-top-widget"> <span class="td-social-icon-wrap"> <a href="http://darkweba6le5w52w.onion">Onion Address <i class="fa fa-angle-double-right"></i><span class="onion">darkweba6le5w52w.onion</span></a></div><div class="td-main-content-wrap td-container-wrap"><div class="td-container tdc-content-wrap "><div class="lem-breadcrumb"><ul id="lem-bredcrumbs"><li><a href="https://darkwebnews.com">Home</a></li><li>7839 Awesome Deep Web Links List [Uncensored Table]</li></ul></div><div class="td-pb-row"><div class="td-pb-span12 td-main-content" role="main"><div class="td-page-header"><h1 class="entry-title td-page-title"> <span>7839 Awesome Deep Web Links List [Uncensored Table]</span></h1></div><div class="td-page-content"><p>Our team has amassed one of the biggest Deep Web links list out there (listed below).</p><p>We took it one step further by checking them out so we could categorize them, record the name of the site, give a description of the site, record if it was online or offline or dead, what they sell and we even got screen shots.</p><div class="advads-after-second-paragraph" id="advads-1865439849"><div style="text-align: center; " id="advads-682572350"><a target="_blank" href="https://topvpnsoftware.com/how-to-hide-tor-usage/?data1=dwb40401"><img data-lazyloaded="1" src="data:image/gif;base64,R0lGODdhAQABAPAAAMPDwwAAACwAAAAAAQABAAACAkQBADs=" data-src="https://darkwebnews.com/wp-content/uploads/2015/06/Non_animated1.jpg" alt="Your TOR usage is being watched" width="468" height="60" class="aligncenter size-full wp-image-845"><noscript><img src="https://darkwebnews.com/wp-content/uploads/2015/06/Non_animated1.jpg" alt="Your TOR usage is being watched" width="468" height="60" class="aligncenter size-full wp-image-845"></noscript></a></div></div><p>One of the hardest things about the Deep Web is that it is almost impossible to search for anything as search engines do not work there, so you need resources like this to find what you are looking for.</p><p>It is estimated that 90% of all internet data and websites are hidden from search engine indexing, this area of the internet is known as the Deep Web.</p><p>Then there is another smaller sub-set of the Deep Web that consists of darknet markets, and sites about drugs, pornography, weapons, assassins, counterfeit and forgeries and hacking etc. This section is called the Dark Web</p><p>There is also a large section of it for whistle blowers to come forward and expose people, organizations and governments for wrong doings.</p><p>The Deep Web is a very colorful and diverse place. One thing is for sure though – you have to have a strong stomach if you want to browse. There are things there that once seen can’t be unseen… So thread carefully!</p><p>Just remember, you need Tor to access the links in this .onion link list and Tor alone is not as secure as you think. If you fall into the false sense of security and think you are safe from being tracked and monitored, then you are sadly mistaken.</p><p>This has been proven multiple times recently with the <a href="https://darkwebnews.com/dark-web/fbi-employed-cmu-to-unmask-dark-web-suspects/">FBI using an American university to hijack the Tor network</a> and catch tons of darknet market users. <a href="https://darkwebnews.com/dark-web/fbi-hacked-tor-and-taken-down-a-child-pornography-site/">The FBI also hacked “Play Pen”</a> and then used malware to identify the admin and users of the site so they could arrest them. Regardless of how fucked up sites like “Play Pen” are, it shows that the FEDS can do this to any site on the darkweb.</p><p><span style="color:red">Attention Dark Web News readers:</span> It should be brought to your attention that there was a recent <a href="https://darkwebnews.com/anonymity/tor-turmoil-vulnerability/">Tor vulnerability</a> which leaked your REAL IP address leading back to your real location. UPDATE your Tor browser immediately.</p><p>Vulnerabilities like these are happening more often now, if you already use a good VPN then you have nothing to worry about as the VPN protects you against this as it gives you a fake IP. If you don’t use a VPN then you should start, don’t wait until it is too late.</p><p></p><p>By using a good VPN along with Tor you will add an extra layer of encryption and anonymity making it virtually impossible to trace you. <a href="https://darkwebnews.com/vpn-anonymity-tool/?data2=dwndwltx">Using a good VPN</a> will mean you are sharing an IP with hundreds, if not thousands of other so even if tor was cracked and the real IP found then it would be the VPN IP and they couldn’t tell who it is.</p><p>We found a good site that tests and rates VPN’s used for Tor here: <a href="https://topvpnsoftware.com/?data1=dwndwl01">https://topvpnsoftware.com/</a></p><p>If you are currently not on Tor browser you will need, close all your programs accessing the internet, turn your VPN on, open tor and come back here.</p><p>You can sort by any of the columns via the arrow icon or use the search box to be more precise.</p><p>Note: We do not encourage or condone any illegal activity, this is for mere educational purposes only.</p><h2 id="online-deep-web-links">Online Deep Web Links</h2><div id="customtable1"><div class="customtables-block"><div id="customtblinf-t1" class="customtables-info" style="margin:20px 0px 15px 0px;"> Showing 0 to 29 of 4715 entries</div><div class="customtable-nav"><div class="custom-left-nav"><form class="customtbl-nfrm" method="post" action="#customtable1"> <a target="_blank" href="http://6khhxwj7viwe5xjm.onion/?ai=552713">http://6khhxwj7viwe5xjm.onion/</a></td><td>Dream Market is Marketplace for Drugs, Digital Goods and Other Services.</td><td>Drugs, Digital Goods</td><td>Yes</td><td>No</td><td>Online</td><td>Marketplace Drugs</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2016/11/5885.Dream-Market.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>#2 Silk Road 3</td><td><a target="_blank" href="http://silkroad7rn2puhj.onion/">http://silkroad7rn2puhj.onion/</a></td><td>Silk Road 3 is the DarkNet's most resillent Marketplace. Products are sorted in categories. They sell Cannabis, Stimulants, Ecstasy, Opioids, Benzos, Dissociatives, Psychedelic, Prescription, and Other products.</td><td>Drugs, Weapons</td><td>Yes</td><td>No</td><td>Online</td><td>Marketplace Drugs</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/09/Silk-Road.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>#3 Valhalla</td><td><a target="_blank" href="http://valhallaxmn3fydu.onion/register/DpXB">http://valhallaxmn3fydu.onion/</a></td><td>Valhalla is marketplace for Drugs sorted in categories. There are a lot of Cannabis, Stimulants, Empathogens, Psychedelics, Opiates, Pharmacy, Dissociatives and Depressants.</td><td>Drugs</td><td>Yes</td><td>No</td><td>Online</td><td>Marketplace Drugs</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/09/Valhalla.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>#4 Point / Tochka Free Market</td><td><a target="_blank" href="http://tochka3evlj3sxdv.onion/auth/register/62e4882184c74e6078e0fc79f8fe9cdf">http://tochka3evlj3sxdv.onion</a></td><td>Tochka is dark market shipping to all countries. Drugs and other categories are sorted in categories.</td><td>Drugs, Digital Goods</td><td>Yes</td><td>No</td><td>Online</td><td>Marketplace Drugs</td><td class="custom-lcol"> </td></tr><tr><td>#5 WallStreet Market</td><td><a target="_blank" href="http://wallstyizjhkrvmj.onion/signup?ref=166794">http://wallstyizjhkrvmj.onion</a></td><td>WallStreet Market is one of the newest markets on the darknet and it particularly specializes in digital goods.</td><td>Drugs, Digital Goods</td><td>Yes</td><td>No</td><td>Online</td><td>Marketplace Drugs</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/09/Wall-Street-Market.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>$$$</td><td><a target="_blank" href="http://2jv5rmgnmze5l6i4.onion/">http://2jv5rmgnmze5l6i4.onion/</a></td><td>Only old users have access to join this website for cash</td><td>-</td><td>Yes</td><td>Yes</td><td>Online</td><td>Uncategorized</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/1655.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>$$$</td><td><a target="_blank" href="http://2jv5r7k66ralyk3g.onion/">http://2jv5r7k66ralyk3g.onion/</a></td><td>Only old users have access to join this website for cash</td><td>-</td><td>Yes</td><td>Yes</td><td>Online</td><td>Uncategorized</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/1654.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>$$$</td><td><a target="_blank" href="http://2jv5rmgnmze5l6i4.onion">http://2jv5rmgnmze5l6i4.onion</a></td><td>$$$ is Invite only website, only old users have access to join or invite you.</td><td>-</td><td>Yes</td><td>Yes</td><td>Online</td><td>Uncategorized</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/3445.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>$$$</td><td><a target="_blank" href="http://2jv5r7k66ralyk3g.onion">http://2jv5r7k66ralyk3g.onion</a></td><td>$$$ is Invite only website, only old users have access to join or invite you.</td><td>-</td><td>Yes</td><td>Yes</td><td>Online</td><td>Uncategorized</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/3444.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>0day Forum</td><td><a target="_blank" href="http://qzbkwswfv5k2oj5d.onion">http://qzbkwswfv5k2oj5d.onion</a></td><td>Forum about hacking, marketplace for Accounts,Security Services. Tutorials and Payment Systems too.</td><td>-</td><td>yes</td><td>no</td><td>Online</td><td>Hacking</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2016/05/556.0day-Forum.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>0day Forum</td><td><a target="_blank" href="http://qzbkwswfv5k2oj5d.onion">http://qzbkwswfv5k2oj5d.onion</a></td><td>This is hidden forum with more then 37.000 posts by 20.000 members. You can read for any hidden topic and discuss for any topic. There are a lot of Tutorials, Marketplace dicsuss. Hacking etc.</td><td>Discussions</td><td>Yes</td><td>No</td><td>Online</td><td>Forums</td><td class="custom-lcol"> </td></tr><tr><td>1 Cent PM Casino</td><td><a target="_blank" href="http://cxpizstpfzlljfng.onion">http://cxpizstpfzlljfng.onion</a></td><td>1 Cent PM Casino is casino for bet online, you can play Poker, Roulette, Slots, Baccarat etc.</td><td>Play Casino Games</td><td>Yes</td><td>No</td><td>Online</td><td>Media</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4752.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>1 Cent PM Casino</td><td><a target="_blank" href="http://cpqegydlt7khvcx4.onion">http://cpqegydlt7khvcx4.onion</a></td><td>1 Cent PM Casino is casino for bet online, you can play Poker, Roulette, Slots, Baccarat etc.</td><td>Play Casino Games</td><td>Yes</td><td>No</td><td>Online</td><td>Media</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4693.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>1 Cent Roulette</td><td><a target="_blank" href="http://ycfgjwbfhnqvtclm.onion">http://ycfgjwbfhnqvtclm.onion</a></td><td>1 Cent Roulette is casino for betting online, you can play Poker, Roulette, Slots, Baccarat etc.</td><td>Play Casino Games</td><td>Yes</td><td>No</td><td>Online</td><td>Media</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2016/11/8374.1-Cent-Roulette.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>1000777com</td><td><a target="_blank" href="http://truth77k52rbo3ov.onion">http://truth77k52rbo3ov.onion</a></td><td>This site is dedicated to Truthseekers. It's main purpose is to lead seekers on to a MUCH more brighter source of information, and to help shed some light to a great deal of things happening in this very mad world.</td><td>Free Press</td><td>Yes</td><td>No</td><td>Online</td><td>Media</td><td class="custom-lcol"> </td></tr><tr><td>100x Bitcoin</td><td><a target="_blank" href="http://rjuvjyygjqm6mlqm.onion">http://rjuvjyygjqm6mlqm.onion</a></td><td>100x Bitcoin, invest and cash back in 24hours 100x. This site work with some codes and bugs they say.</td><td>Bitcoin</td><td>no</td><td>no</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2016/05/307.100x-Bitcoin.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Bitcoin</td><td><a target="_blank" href="http://hfixt6vwtecvnz4f.onion">http://hfixt6vwtecvnz4f.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/5670.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Bitcoin</td><td><a target="_blank" href="http://e4gsrcysdyxlzjur.onion">http://e4gsrcysdyxlzjur.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4976.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Bitcoin</td><td><a target="_blank" href="http://dsn5f5jencut5owx.onion">http://dsn5f5jencut5owx.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4940.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Bitcoin</td><td><a target="_blank" href="http://ctny7rdyl2vfaf66.onion">http://ctny7rdyl2vfaf66.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4738.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://itorshop5fhthjil.onion">http://itorshop5fhthjil.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2016/11/5840.100x-Your-Coins.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://rjuvjyygjqm6mlqm.onion">http://rjuvjyygjqm6mlqm.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"> </td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://ufxa64dzsqrewny7.onion">http://ufxa64dzsqrewny7.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"> </td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://hjn32r3wtmyqoauy.onion">http://hjn32r3wtmyqoauy.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/5688.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://fohzkg7hvi6phkkg.onion">http://fohzkg7hvi6phkkg.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/5232.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://btcxxlkiey6cfa4y.onion">http://btcxxlkiey6cfa4y.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4512.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://btcmultinjb4mlgh.onion">http://btcmultinjb4mlgh.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4508.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://btcmulti7le6gzwj.onion">http://btcmulti7le6gzwj.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4507.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://btcmulrgmscatziv.onion">http://btcmulrgmscatziv.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4506.png"><i class="fa fa-eye fa-2x "></i></a></td></tr><tr><td>100x Your Coins</td><td><a target="_blank" href="http://btcmulascm3j444s.onion">http://btcmulascm3j444s.onion</a></td><td>Bitcoin mixer for 100x your Bitcoins in just 24hours. You can " Pay 0.01 BTC today, get 1 BTC tomorrow "</td><td>Bitcoin Mixer</td><td>No</td><td>No</td><td>Online</td><td>Crypto Currency</td><td class="custom-lcol"><a href="#" data-featherlight="/wp-content/uploads/2017/03/4505.png"><i class="fa fa-eye fa-2x "></i></a></td></tr></tbody></table></div></div><div class="customtable-nav"><div class="custom-left-nav"><form class="customtbl-nfrm" method="post" action="#customtable1"> <span class="page-select"><span>Page</span> <select id="tpg_b1" name="tpg1" class="tpg-sel"><option value="1" selected>1</option><option value="2">2</option><option value="3">3</option><option value="4">4</option><option value="5">5</option><option value="6">6</option><option value="7">7</option><option value="8">8</option><option value="9">9</option><option value="10">10</option><option value="11">11</option><option value="12">12</option><option value="13">13</option><option value="14">14</option><option value="15">15</option><option value="16">16</option><option value="17">17</option><option value="18">18</option><option value="19">19</option><option value="20">20</option><option value="21">21</option><option value="22">22</option><option value="23">23</option><option value="24">24</option><option value="25">25</option><option value="26">26</option><option value="27">27</option><option value="28">28</option><option value="29">29</option><option value="30">30</option><option value="31">31</option><option value="32">32</option><option value="33">33</option>m class="clearfix clearer"></em></div></li><li class="" rel="undefined" style="display: block !important;"><div class=""><div class=""> <input class="getresponse_emailfield" type="email" required="required" placeholder="Email" name="email"></input></div> <em class="clearfix clearer"></em></div><div class="form_message" style="color: #dc3939;font-size: 18px;text-transform: uppercase;"></div></li><li><p>I respect your privacy and take protecting it seriously.. No Spam!</p></li><li class="wf-submit" rel="undefined" style="display: block !important;"><div class="wf-contbox"><div class="wf-inputpos"> <input type="submit" required="required" class="wf-button" name="submit" value="Send Me Emails" style="display: inline !important; width: 122px !important;"></input></div> <em class="clearfix clearer"></em></div></li><div class="ok_message" style="color: #44dc52;font-size: 18px;text-transform: uppercase;text-align: center;margin-top: 10px;"></div><li class="wf-captcha" rel="undefined temporary" style="display: none !important;"><div class="wf-contbox wf-captcha-1" id="wf-captcha-1" wf-captchaword="Enter the words above:" wf-captchasound="Enter the numbers you hear:" wf-captchaerror="Incorrect please try again"></div> <em class="clearfix clearer"></em></li></ul></div></div> <input type="hidden" name="webform_id" value="12296904" /></form></div></div></div></div> <script type='text/javascript'>var gadwpUAEventsData={"options":{"event_tracking":"1","event_downloads":"zip|mp3*|mpe*g|pdf|docx*|pptx*|xlsx*|rar*","event_bouncerate":0,"aff_tracking":0,"event_affiliates":"\/out\/","hash_tracking":0,"root_domain":"darkwebnews.com","event_timeout":100,"event_precision":0,"event_formsubmit":0,"ga_pagescrolldepth_tracking":0,"ga_with_gtag":0}};</script> <script>(function(){var html_jquery_obj=jQuery('html');if(html_jquery_obj.length&&(html_jquery_obj.is('.ie8')||html_jquery_obj.is('.ie9'))){var path='https://darkwebnews.com/wp-content/themes/Newspaper-child/style.css';jQuery.get(path,function(data){var str_split_separator='#td_css_split_separator';var arr_splits=data.split(str_split_separator);var arr_length=arr_splits.length;if(arr_length>1){var dir_path='https://darkwebnews.com/wp-content/themes/Newspaper';var splited_css='';for(var i=0;i<arr_length;i++){if(i>0){arr_splits[i]=str_split_separator+' '+arr_splits[i];} var formated_str=arr_splits[i].replace(/\surl\(\'(?!data\:)/gi,function regex_function(str){return' url(\''+dir_path+'/'+str.replace(/url\(\'/gi,'').replace(/^\s+|\s+$/gm,'');});splited_css+="<style>"+formated_str+"</style>";} var td_theme_css=jQuery('link#td-theme-css');if(td_theme_css.length){td_theme_css.after(splited_css);}}});}})();</script> <div class="essb_mailform"><div class="essb_mailform_content"><p>Send this to a friend</p><label class="essb_mailform_content_label">Your email</label><input type="text" id="essb_mailform_from" class="essb_mailform_content_input" placeholder="Your email" /><label class="essb_mailform_content_label">Recipient email</label><input type="text" id="essb_mailform_to" class="essb_mailform_content_input" placeholder="Recipient email" /><div class="essb_mailform_content_buttons"><button id="essb_mailform_btn_submit" class="essb_mailform_content_button" onclick="essb_mailform_send();">Send</button><button id="essb_mailform_btn_cancel" class="essb_mailform_content_button" onclick="essb_close_mailform(); return false;">Cancel</button></div><input type="hidden" id="essb_mail_salt" value="752921701" /><input type="hidden" id="essb_mail_instance" value="" /><input type="hidden" id="essb_mail_post" value="" /></div></div><div class="essb_mailform_shadow"></div> <script src="https://darkwebnews.com/min/lazyload.js" defer data-deferred="1"></script><script data-optimized='1' src='https://darkwebnews.com/min/1de04.js' defer></script></body></html> """## let stringRange = NSRange(location: 0, length: testString.utf16.count) let matches = regex.matches(in: testString, range: stringRange) var result: [[String]] = [] for match in matches { var groups: [String] = [] for rangeIndex in 1 ..< match.numberOfRanges { let nsRange = match.range(at: rangeIndex) guard !NSEqualRanges(nsRange, NSMakeRange(NSNotFound, 0)) else { continue } let string = (testString as NSString).substring(with: nsRange) groups.append(string) } if !groups.isEmpty { result.append(groups) } } print(result)

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 Swift 5.2, please visit: https://developer.apple.com/documentation/foundation/nsregularexpression