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

#include <StringConstants.au3> ; to declare the Constants of StringRegExp #include <Array.au3> ; UDF needed for _ArrayDisplay and _ArrayConcatenate Local $sRegex = "(?i)\/\/(?:[\w_-]+(?:(?:\.[\w_-]+)+))(?:[\w.,@?^=%&:\/~+#-]*[\w@?^=%&\/~+#-])?" Local $sString = "<!DOCTYPE html>" & @CRLF & _ "<html lang="en">" & @CRLF & _ "" & @CRLF & _ "<head>" & @CRLF & _ " <!-- This beautiful and lightning fast landing page was proudly created with Leadpages ( see: https://www.leadpages.net ) and hosted on the Leadpages lead generation platform. -->" & @CRLF & _ " <meta charset="utf-8">" & @CRLF & _ " <meta name="leadpages-served-by" content="leadpages">" & @CRLF & _ " <meta name="leadpages-serving-domain" content="https://ixsystems.leadpages.co">" & @CRLF & _ " <meta name="leadpages-stripe-public-key" content="pk_live_R3OLguBtmUzvjaKuwtOa7Kvp">" & @CRLF & _ " <meta name="leadpages-merchant-uuid" content="kRYUiDye8gtbxvvVthNnkW">" & @CRLF & _ " <meta charset="utf-8">" & @CRLF & _ " <script>" & @CRLF & _ " window.AnalyticsPropertyID = "rMx3rsBoVfadWMfoLN2z5n";" & @CRLF & _ " </script>" & @CRLF & _ " <link rel="stylesheet" type="text/css" href="https://ixsystems.leadpages.co/static/lp1483572580/public/css/leadpage.css">" & @CRLF & _ " <script>" & @CRLF & _ " window.LeadPageData = { "facebookShareURL": { "variable": "facebookShareURL", "dafault": "", "name": "The URL to share on Facebook. Leave blank to share the current page." }, "twitterShareURL": { "variable": "twitterShareURL", "dafault": "", "name": "The URL to share on Twitter. Leave blank to share the current page." }, "googleShareURL": { "variable": "googleShareURL", "dafault": "", "name": "The URL to share on Google+. Leave blank to share the current page." }, "linkedInShareURL": { "variable": "linkedInShareURL", "dafault": "", "name": "The URL to share on LinkedIn. Leave blank to share the current page." } };" & @CRLF & _ " </script>" & @CRLF & _ " <script type="text/javascript" src="https://ixsystems.leadpages.co/static/lp1483572580/public/js/leadpage.js"></script>" & @CRLF & _ " <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">" & @CRLF & _ " <meta name="viewport" content="width=device-width, initial-scale=1">" & @CRLF & _ " <style>" & @CRLF & _ " @import url(https://maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css);" & @CRLF & _ " </style>" & @CRLF & _ " <link href="https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,600" rel="stylesheet" type="text/css">" & @CRLF & _ " <link rel="stylesheet" href="https://ixsystems.leadpages.co/f//w5N55HkAEv%252BpK6kOFyh0KJ%252BRqC3JrztqsFbxy0Bc0iNSQCQTWrQMlWdvEiLQEXpYt8gPbmjzAk3KS4AbwJdag%253D%253D%7Ccss/normalize.min.css">" & @CRLF & _ " <link rel="stylesheet" type="text/css" href="https://ixsystems.leadpages.co/f//w5N55HkAEv%252BpK6kOFyh0KJ%252BRqC3JrztqsFbxy0Bc0hcHiFxsb3VUc6tIAt5lPy8NykuAG8CXWo%253D%7Ccss/style.css">" & @CRLF & _ " <script src="https://ixsystems.leadpages.co/f//w5N55HkAEv%252BpK6kOFyh0KJ%252BRqC3JrztqsFbxy0Bc0jINLrZD2o7qCJeTqzOuwVVkqSGeDambc2fKvbfDci7Jg%253D%253D%7Cjs/html5shiv.js"></script>" & @CRLF & _ " <script type="text/javascript" src="http://www.omncdn.com/thankyou/CustomPage2/jeremyquinn/9/jquery.js"></script>" & @CRLF & _ " <script type="text/javascript" src="http://www.omncdn.com/thankyou/CustomPage2/jeremyquinn/9/modernizer.js"></script>" & @CRLF & _ " <script type="text/javascript" src="http://www.omncdn.com/thankyou/CustomPage2/jeremyquinn/9/function.js"></script>" & @CRLF & _ " <link href="http://www.omncdn.com/thankyou/CustomPage2/jeremyquinn/9/style.css" type="text/css" rel="stylesheet">" & @CRLF & _ " <style>" & @CRLF & _ " .popup {" & @CRLF & _ " width: 80%;" & @CRLF & _ " margin: 0 auto" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " #pop-head .head {" & @CRLF & _ " font-family: "Open Sans Condensed";" & @CRLF & _ " font-size: 26px;" & @CRLF & _ " color: #545555;" & @CRLF & _ " font-weight: 700;" & @CRLF & _ " line-height: 30px;" & @CRLF & _ " text-align: center;" & @CRLF & _ " margin: 20px auto 10px auto" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .book-small {" & @CRLF & _ " float: left;" & @CRLF & _ " margin: -60px 10px 0 -50px" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .popup input#fname," & @CRLF & _ " .popup input#email {" & @CRLF & _ " width: 100%;" & @CRLF & _ " height: 50px;" & @CRLF & _ " font-size: 16px;" & @CRLF & _ " line-height: 26px;" & @CRLF & _ " color: #989898;" & @CRLF & _ " padding: 0;" & @CRLF & _ " margin: 5px auto;" & @CRLF & _ " border: 1px solid #cacaca;" & @CRLF & _ " text-align: center;" & @CRLF & _ " -webkit-box-shadow: inset 1px 0px 10px 1px rgba(170, 170, 170, 0.3);" & @CRLF & _ " box-shadow: inset 1px 0px 10px 1px rgba(170, 170, 170, 0.3)" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " #pop-footer {" & @CRLF & _ " background-color: #d9d9d9;" & @CRLF & _ " min-height: 57px;" & @CRLF & _ " margin-top: 20px;" & @CRLF & _ " padding-top: 10px;" & @CRLF & _ " border-radius: 0 0 5px 5px;" & @CRLF & _ " -webkit-border-radius: 0 0 5px 5px;" & @CRLF & _ " -webkit-box-shadow: inset 0px 1px 5px 0px rgba(0, 0, 0, 0.2);" & @CRLF & _ " box-shadow: inset 0px 1px 5px 0px rgba(0, 0, 0, 0.2)" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " #pop-footer p {" & @CRLF & _ " font-size: 14px;" & @CRLF & _ " color: #767677;" & @CRLF & _ " text-align: center;" & @CRLF & _ " margin-bottom: 0" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .popup .btn {" & @CRLF & _ " font-family: 'Open Sans Condensed';" & @CRLF & _ " text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);" & @CRLF & _ " filter: dropshadow(color=rgba(0, 0, 0, 0.3), offx=1, offy=1);" & @CRLF & _ " background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #fed800), color-stop(1, #f5c800));" & @CRLF & _ " background: -moz-linear-gradient(center top, #fed800 5%, #f5c800 100%);" & @CRLF & _ " filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fed800', endColorstr='#f5c800');" & @CRLF & _ " background-color: #fed800;" & @CRLF & _ " display: block;" & @CRLF & _ " margin: 8px auto 0 auto;" & @CRLF & _ " position: relative;" & @CRLF & _ " min-height: 58px;" & @CRLF & _ " width: 100%;" & @CRLF & _ " font-weight: 700;" & @CRLF & _ " font-size: 30px;" & @CRLF & _ " color: #fdfdfd;" & @CRLF & _ " border-radius: 3px;" & @CRLF & _ " -webkit-border-radius: 3px;" & @CRLF & _ " -moz-border-radius: 3px;" & @CRLF & _ " border: none;" & @CRLF & _ " padding: 10px 20px 15px;" & @CRLF & _ " font-size: 30px;" & @CRLF & _ " text-align: center" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .popup .btn:hover {" & @CRLF & _ " background: -webkit-gradient(linear, left top, left bottom, color-stop(0.05, #f5c800), color-stop(1, #fed800));" & @CRLF & _ " background: -moz-linear-gradient(center top, #f5c800 5%, #fed800 100%);" & @CRLF & _ " filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#f5c800', endColorstr='#fed800');" & @CRLF & _ " background-color: #f5c800" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .popup .btn:active {" & @CRLF & _ " position: relative;" & @CRLF & _ " top: 1px" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .popup .btn:after {" & @CRLF & _ " content: '\00BB'" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .pop-up-footer-text {" & @CRLF & _ " font-family: 'Open Sans';" & @CRLF & _ " color: #505050;" & @CRLF & _ " font-size: 14px;" & @CRLF & _ " text-align: center;" & @CRLF & _ " margin: 5px auto;" & @CRLF & _ " padding: 0" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .reveal-modal-bg {" & @CRLF & _ " position: fixed;" & @CRLF & _ " height: 100%;" & @CRLF & _ " width: 100%;" & @CRLF & _ " background: #000;" & @CRLF & _ " background: rgba(0, 0, 0, .8);" & @CRLF & _ " z-index: 100;" & @CRLF & _ " display: none;" & @CRLF & _ " top: 0;" & @CRLF & _ " left: 0" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .reveal-modal {" & @CRLF & _ " visibility: hidden;" & @CRLF & _ " top: 100px;" & @CRLF & _ " left: 45%;" & @CRLF & _ " margin-left: -300px;" & @CRLF & _ " width: 714px;" & @CRLF & _ " min-height: 200px;" & @CRLF & _ " background: #fff no-repeat -200px -80px;" & @CRLF & _ " position: absolute;" & @CRLF & _ " z-index: 101;" & @CRLF & _ " -moz-border-radius: 10px;" & @CRLF & _ " -moz-box-shadow: 0 0 10px rgba(0, 0, 0, .4);" & @CRLF & _ " -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, .4);" & @CRLF & _ " -box-shadow: 0 0 10px rgba(0, 0, 0, .4);" & @CRLF & _ " border-radius: 5px;" & @CRLF & _ " -webkit-border-radius: 5px" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .reveal-modal.small {" & @CRLF & _ " width: 200px;" & @CRLF & _ " margin-left: -140px" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .reveal-modal.medium {" & @CRLF & _ " width: 400px;" & @CRLF & _ " margin-left: -240px" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .reveal-modal.large {" & @CRLF & _ " width: 600px;" & @CRLF & _ " margin-left: -340px" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .reveal-modal.xlarge {" & @CRLF & _ " width: 800px;" & @CRLF & _ " margin-left: -440px" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " .reveal-modal .close-reveal-modal {" & @CRLF & _ " font-size: 22px;" & @CRLF & _ " line-height: .5;" & @CRLF & _ " position: absolute;" & @CRLF & _ " top: -30px;" & @CRLF & _ " right: -40px;" & @CRLF & _ " color: #aaa;" & @CRLF & _ " text-shadow: 0 -1px 1px rbga(0, 0, 0, .6);" & @CRLF & _ " font-weight: bold;" & @CRLF & _ " cursor: pointer" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " @media only screen and (max-width:800px) {" & @CRLF & _ " .reveal-modal {" & @CRLF & _ " visibility: hidden;" & @CRLF & _ " top: 200px;" & @CRLF & _ " left: 45%;" & @CRLF & _ " margin-left: -35%;" & @CRLF & _ " width: 80%" & @CRLF & _ " }" & @CRLF & _ " }" & @CRLF & _ " </style>" & @CRLF & _ " <title>Introducing the TrueNAS X10</title>" & @CRLF & _ " <meta content="" name="description">" & @CRLF & _ " <meta content="" name="keywords">" & @CRLF & _ " <meta content="146039073f72a2:12451c44c346dc" name="leadpages-meta-id">" & @CRLF & _ " <meta content="//ixsystems.leadpages.co" name="leadpages-url">" & @CRLF & _ " <script>" & @CRLF & _ " (function(a, c, d, b, e, f) { a[d] = b;" & @CRLF & _ " a[b] || (a[b] = function() { a[b].q = a[b].q || [];" & @CRLF & _ " a[b].q.push(arguments) }, d = c.createElement(e), d.async = !0, d.src = f, c = c.getElementsByTagName(e)[0], c.parentNode.insertBefore(d, c)) })(window, document, "LeadPagesCenterObject", "center", "script", "https://js.center.io/center.js");" & @CRLF & _ " center('create', 'rMx3rsBoVfadWMfoLN2z5n', 'rMx3rsBoVfadWMfoLN2z5n', { customId: 'lp-5735267667279872' });" & @CRLF & _ " </script>" & @CRLF & _ " <script>" & @CRLF & _ " center('send', 'view', 'leadpage', 5735267667279872)" & @CRLF & _ " </script>" & @CRLF & _ "</head>" & @CRLF & _ "" & @CRLF & _ "<body>" & @CRLF & _ " <header class="header role-element leadstyle-container" style="background-image: url(&quot;//lh3.googleusercontent.com/nb_3u8pM7svZwqnWiF6zjIeHFljlncHDhq5RQwlArNfYZ31h7l4mkPSO2TjZYQZvY4Vm8MbaaRdKfBHIc9FWA2c=s0&quot;); background-size: cover; background-position: center top;">" & @CRLF & _ " <img src="//lh3.googleusercontent.com/nb_3u8pM7svZwqnWiF6zjIeHFljlncHDhq5RQwlArNfYZ31h7l4mkPSO2TjZYQZvY4Vm8MbaaRdKfBHIc9FWA2c=s0" id="header-bg-image" class="header-bg-img role-element leadstyle-image">" & @CRLF & _ " <div class="header_title">" & @CRLF & _ " <h1 class="role-element leadstyle-text"><span class="leadstyle-fontsized" style="font-size:28px;"><span id="m_1466959868681406623docs-internal-guid-1fff18b8-053a-8855-d348-258d0028ed51"><span id="m_1466959868681406623docs-internal-guid-15e508f5-053b-7e30-4487-191db66e2da4"><span id="m_1466959868681406623docs-internal-guid-15e508f5-053c-749d-0558-76544dd004e0"><span style="font-family: Roboto; font-weight: 700; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; vertical-align: baseline; white-space: pre-wrap;">Introducing the TrueNAS X10</span></span></span></span></span></h1>" & @CRLF & _ " <h2 class="role-element leadstyle-text"><span style="font-family:open sans;"><span class="leadstyle-fontsized" style="font-size:26px;">DURING THIS FREE WEBINAR YOU WILL LEARN:</span><br><span class="leadstyle-fontsized" style="font-size:20px;">&#8226;</span></span><span class="leadstyle-fontsized" style="font-size:20px;"> What is the M&amp;E industry?</span><br><span style="font-family:open sans;"><span class="leadstyle-fontsized" style="font-size:20px;">&#8226; </span></span><span class="leadstyle-fontsized" style="font-size:20px;">How TrueNAS benefits the M&amp;E customer</span><br><span style="font-family:open sans;"><span class="leadstyle-fontsized" style="font-size:20px;">&#8226; </span></span><span class="leadstyle-fontsized" style="font-size:20px;">Common M&amp;E operations</span><br><span style="font-family:open sans;"><span class="leadstyle-fontsized" style="font-size:20px;">&#8226; </span></span><span class="leadstyle-fontsized" style="font-size:20px;">Storage issues encountered during M&amp;E operations</span><br><span style="font-family:open sans;"><span class="leadstyle-fontsized" style="font-size:20px;">&#8226; </span></span><span class="leadstyle-fontsized" style="font-size:20px;">How TrueNAS resolves these issues </span></h2>" & @CRLF & _ " </div>" & @CRLF & _ " </header>" & @CRLF & _ " <div class="main role-element leadstyle-container">" & @CRLF & _ " <div class="main_left role-element leadstyle-container">" & @CRLF & _ " <div class="media">" & @CRLF & _ " <img src="//lh3.googleusercontent.com/PmXCCYDakVLqrLUEEpeQkY9boPvCAiEBYjVkHgXhQa4TOYQhL3oimNgX5ixI1VYF8Nv1oT6aseawRU32Y2PYrA=s0" class="media__img floatL role-element leadstyle-image" style="max-width: 176px;">" & @CRLF & _ " <div class="media__body role-element leadstyle-container">" & @CRLF & _ " <h3 class="role-element leadstyle-text">Co-Hosted by TIM NAGLE</h3>" & @CRLF & _ " <p class="main_left-title role-element leadstyle-text"><strong>With Brad Meyer</strong></p>" & @CRLF & _ " <p class="role-element leadstyle-text"><span id="m_1466959868681406623docs-internal-guid-1fff18b8-053a-8855-d348-258d0028ed51"><span style="font-size:18.666666666666664px;font-family:Roboto;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><span id="m_1466959868681406623docs-internal-guid-1fff18b8-053a-ee32-74a9-3267b8dd3670"><span id="m_1466959868681406623docs-internal-guid-15e508f5-053d-1f60-4350-6c91e6fb98d8"><span style="font-size:16px;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;vertical-align:baseline">Tim Nagle is the founder of Creative Integrations, a full-service M&amp;E organization that specializes in providing post-production, recording, animation, and broadcast facilities to hundreds of clients worldwide. Brad Meyer is the lead technical marketing engineer for TrueNAS at iXsystems.</span></span>" & @CRLF & _ " </span>" & @CRLF & _ " </span>" & @CRLF & _ " </span> <span id="m_1466959868681406623docs-internal-guid-1fff18b8-053a-8855-d348-258d0028ed51"><span style="font-size:18.666666666666664px;font-family:Roboto;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;vertical-align:baseline;white-space:pre-wrap"><span id="m_1466959868681406623docs-internal-guid-1fff18b8-053a-ee32-74a9-3267b8dd3670"><span id="m_1466959868681406623docs-internal-guid-15e508f5-053d-1f60-4350-6c91e6fb98d8"><img class="ajT" src="https://ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></span></span>" & @CRLF & _ " </span>" & @CRLF & _ " </span>" & @CRLF & _ " </p>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="main_right border-left role-element leadstyle-container">" & @CRLF & _ " <h3 class="role-element leadstyle-text">Register free now!</h3>" & @CRLF & _ " <p class="main_right-title role-element leadstyle-text">It&#8217;s happening this [[WEEKDAY+next0]] ([[MMMM+next0]] [[DO+next0]]) at...</p>" & @CRLF & _ " <div class="main_right-calendar role-element leadstyle-container">" & @CRLF & _ " <p class="month role-element leadstyle-text">[[WEEKDAY+next0]]</p>" & @CRLF & _ " <p class="day role-element leadstyle-text">[[DD+next0]]</p>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="main_right-dates">" & @CRLF & _ " <ul class="main_right-list role-element leadstyle-text">" & @CRLF & _ " <li>[[time1+next0]] Pacific</li>" & @CRLF & _ " <li>[[time1+next0+1HOUR]] Mountain</li>" & @CRLF & _ " <li>[[time1+next0+2HOUR]] Central</li>" & @CRLF & _ " <li>[[time1+next0+3HOUR]] Eastern</li>" & @CRLF & _ " </ul>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="section01">" & @CRLF & _ " <div class="container role-element leadstyle-container">" & @CRLF & _ " <div class="countdown-wrap role-element leadstyle-container">" & @CRLF & _ " <h3 class="count-headline role-element leadstyle-text">THIS WEBINAR WILL START IN</h3>" & @CRLF & _ " <ul class="countdown role-element leadstyle-countdown" data-timestamp="[[timestamp+next0]]000">" & @CRLF & _ " <li>" & @CRLF & _ " <div class="flap">" & @CRLF & _ " <span id="days" class="days">0</span>" & @CRLF & _ " </div>" & @CRLF & _ " <p class="timeRefDays role-element leadstyle-text">DAYS</p>" & @CRLF & _ " </li>" & @CRLF & _ " <li>" & @CRLF & _ " <div class="flap">" & @CRLF & _ " <span id="hours" class="hours">0</span>" & @CRLF & _ " </div>" & @CRLF & _ " <p class="timeRefHours role-element leadstyle-text">HOURS</p>" & @CRLF & _ " </li>" & @CRLF & _ " <li>" & @CRLF & _ " <div class="flap">" & @CRLF & _ " <span id="minutes" class="minutes">0</span>" & @CRLF & _ " </div>" & @CRLF & _ " <p class="timeRefMinutes role-element leadstyle-text">MINUTES</p>" & @CRLF & _ " </li>" & @CRLF & _ " <li>" & @CRLF & _ " <div class="flap">" & @CRLF & _ " <span id="seconds" class="seconds">0</span>" & @CRLF & _ " </div>" & @CRLF & _ " <p class="timeRefSeconds role-element leadstyle-text">SECONDS</p>" & @CRLF & _ " </li>" & @CRLF & _ " </ul>" & @CRLF & _ " </div>" & @CRLF & _ " <a href="#" data-reveal-id="myModal" class="btn cta01 role-element leadstyle-link">YES! Sign ME UP &#187;</a>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="section03">" & @CRLF & _ " </div>" & @CRLF & _ " <footer class="footer">" & @CRLF & _ " <p class="footer_legal role-element leadstyle-text"><a target="_blank" href="https://www.ixsystems.com/privacy-policy/">Privacy Policy</a></p>" & @CRLF & _ " </footer>" & @CRLF & _ " <link rel="stylesheet" type="text/css" href="http://www.omncdn.com/thankyou/downloads/form.css" />" & @CRLF & _ " <div id="myModal" class="popup-container reveal-modal">" & @CRLF & _ " <script type="text/javascript" src="http://www.omncdn.com/thankyou/CustomPage/Geoff/mobile.js"></script>" & @CRLF & _ " <div id="leadpages-form-wrapper">" & @CRLF & _ " <form action="http://www.onlinemeetingnow.com/seminar/?id=[[id]]" method="POST" class="form-horizontal no-image" id="leadpages-form" style="background-color: rgb(255, 255, 255); border-style: solid; border-width: 1pt; border-color: rgb(255, 255, 255)" accept-charset="utf-8">" & @CRLF & _ " <a class="close-reveal-modal">" & @CRLF & _ "<img src="//lh4.ggpht.com/eTzgQFXzaxNZzAsEGJyKl1WLVocESwwJFPPpfaoi3osmL1VKiZLMsq8jMnvIVhcHrnZYr4sJSK7CYhbOp5ce3Q=s0">" & @CRLF & _ "</a>" & @CRLF & _ " <div id="leadpages-form-header">" & @CRLF & _ " <img id="leadpages-form-header-image" src="https://ixsystems.leadpages.co/static/lp1481749521/img/leadbox_status_bar_gray3.gif" />" & @CRLF & _ " <div id="leadpages-form-header-text" style="font-family: Helvetica,Arial,sans-serif; font-size: 10pt; letter-spacing: 0em; display: block">" & @CRLF & _ " Almost there! Please answer a few quick questions to save your spot." & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="leadbox-content-wrapper">" & @CRLF & _ " <div id="leadpages-form-title" style="font-family: &#34;Open Sans&#34;,Helvetica,Arial,sans-serif; font-size: 18pt; letter-spacing: 0em; display: block">" & @CRLF & _ " <div style="text-align: center">" & @CRLF & _ " <strong>Enter your email address and click the button" & @CRLF & _ " below to save your seat.</strong>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " <div id="leadpages-fieldset-wrapper">" & @CRLF & _ " <fieldset id="leadpages-fieldset">" & @CRLF & _ " <input name="inf_form_xid" type="hidden" value="4c75d0385a3b52fa2ef843bee2d7206d" />" & @CRLF & _ " <input name="inf_form_name" type="hidden" value="Registrants" />" & @CRLF & _ " <input name="infusionsoft_version" type="hidden" value="1.60.0.55" />" & @CRLF & _ " <p style="text-align:center;font-family:'Open Sans',Helvetica,Arial,sans-serif;font-weight:normal;font-size:13px;">" & @CRLF & _ " <input name="date_option" type="radio" value="option1|[[timestamp+next0]]" checked>&#160;[[datetime+next0]] ([[timezone]])" & @CRLF & _ " <br>" & @CRLF & _ " </p>" & @CRLF & _ " <div class="control-group" id="leadpages-container-inf-field-FirstName">" & @CRLF & _ " <div class="controls">" & @CRLF & _ " <input type="text" name="inf_field_FirstName" value="" id="inf-field-FirstName" placeholder="First Name" data-source="leadpages-first_name" data-role="first_name" required="required" />" & @CRLF & _ " </div>" & @CRLF & _ " <span class="error-container" id="leadpages-error-inf-field-FirstName"></span>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="control-group" id="leadpages-container-inf-field-Email">" & @CRLF & _ " <div class="controls">" & @CRLF & _ " <input type="email" name="inf_field_Email" value="" id="inf-field-Email" placeholder="Email" data-source="leadpages-email" data-role="email" required="required" />" & @CRLF & _ " </div>" & @CRLF & _ " <span class="error-container" id="leadpages-error-inf-field-Email"></span>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="control-group">" & @CRLF & _ " <div class="controls">" & @CRLF & _ " <button id="leadpages-submit-button" type="submit" style="font-family: &#34;Open Sans&#34;,Helvetica,Arial,sans-serif; font-size: 14pt; letter-spacing: 0em; background-color: rgb(18, 133, 221); border-style: solid; border-width: 0pt; border-top-width: 0pt; border-right-width: 0pt; border-bottom-width: 0pt; border-left-width: 0pt; border-color: rgb(227, 227, 227); text-shadow: 2px 2px 0px rgb(18, 133, 221)">" & @CRLF & _ " <div style="text-align: center">Register Now <span class="raquo">&#187;</span></div>" & @CRLF & _ " </button>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="leadpages-spacer">- -</div>" & @CRLF & _ " </fieldset>" & @CRLF & _ " </div>" & @CRLF & _ " <div id="leadpages-privacy-policy" style="font-family: &#34;Open Sans&#34;,Helvetica,Arial,sans-serif; font-size: 10pt; letter-spacing: ">" & @CRLF & _ " <div style="text-align: center">" & @CRLF & _ " <i class="icon-lock"></i> We hate SPAM and promise to keep your email address safe." & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="leadpages-spacer">- -</div>" & @CRLF & _ " <input name="inf_custom_SSWebinarDateTimeText" type="hidden" value="[[datetime]] ([[timezone]])" />" & @CRLF & _ " <input name="inf_custom_SSWebinarTitle" type="hidden" value="[[title]]" />" & @CRLF & _ " <input name="inf_custom_SSWebinarUrl" type="hidden" value="[[id]]" />" & @CRLF & _ " </form>" & @CRLF & _ " </div>" & @CRLF & _ " <script type="text/javascript" src="//my.leadpages.net/static/lp786/min/css_browser_selector.js"></script>" & @CRLF & _ " </div>" & @CRLF & _ " <script src="http://omncdn.com/thankyou/html5/forhtml5.js"></script>" & @CRLF & _ " <script src="//my.leadpages.net/static/lp1483572580/min/tracking.js"></script>" & @CRLF & _ " <!-- Snippet used on StealthSeminar.com to integrate their form with our Marketo -->" & @CRLF & _ " <script src="//app-sj20.marketo.com/js/forms2/js/forms2.min.js"></script>" & @CRLF & _ " <form id="mktoForm_1171" style="display:none"></form>" & @CRLF & _ " <script>" & @CRLF & _ " var marketyform;" & @CRLF & _ " MktoForms2.loadForm("//app-sj20.marketo.com", "855-MUM-343", 1171, function(form) {" & @CRLF & _ " marketyform = form;" & @CRLF & _ " marketyform.onSuccess(function() {" & @CRLF & _ " jQuery("#leadpages-submit-button").data("finish", "true").click();" & @CRLF & _ " return false;" & @CRLF & _ " });" & @CRLF & _ " });" & @CRLF & _ "" & @CRLF & _ " jQuery.urlParam = function(name) {" & @CRLF & _ " var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);" & @CRLF & _ " if (results == null) {" & @CRLF & _ " return null;" & @CRLF & _ " } else {" & @CRLF & _ " return results[1] || 0;" & @CRLF & _ " }" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " jQuery(document).ready(function() {" & @CRLF & _ "" & @CRLF & _ " jQuery("#leadpages-submit-button").click(function(e) {" & @CRLF & _ " if (jQuery(this).data("finish") !== "true") {" & @CRLF & _ " e.stopPropagation();" & @CRLF & _ " e.preventDefault();" & @CRLF & _ "" & @CRLF & _ " var fn = jQuery("#inf-field-FirstName").val();" & @CRLF & _ " var em = jQuery("#inf-field-Email").val();" & @CRLF & _ " var ph = jQuery("#inf-field-Phone1").val();" & @CRLF & _ " var st = jQuery("#inf-field-State").val();" & @CRLF & _ " var fik = new Date(jQuery('input[name=date_option]:checked').val().split("|")[1] * 1000);" & @CRLF & _ "" & @CRLF & _ " try {" & @CRLF & _ " fik = fik.toISOString();" & @CRLF & _ " } catch (err) {" & @CRLF & _ " fik = "2001-01-01T00:00:00.000Z";" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " marketyform.addHiddenFields({" & @CRLF & _ " "Email": em," & @CRLF & _ " "FirstName": fn," & @CRLF & _ " "Phone": ph," & @CRLF & _ " "State": st," & @CRLF & _ " "webinarTime": fik," & @CRLF & _ " "webinarDate": fik.substring(0, 10)," & @CRLF & _ " "SSWebinarID": jQuery.urlParam("id")" & @CRLF & _ " });" & @CRLF & _ " marketyform.submit();" & @CRLF & _ " }" & @CRLF & _ " });" & @CRLF & _ " });" & @CRLF & _ " </script>" & @CRLF & _ " <script type="text/javascript">" & @CRLF & _ " (function() {" & @CRLF & _ " var didInit = false;" & @CRLF & _ "" & @CRLF & _ " function initMunchkin() {" & @CRLF & _ " if (didInit === false) {" & @CRLF & _ " didInit = true;" & @CRLF & _ " Munchkin.init('855-MUM-343');" & @CRLF & _ " }" & @CRLF & _ " }" & @CRLF & _ " var s = document.createElement('script');" & @CRLF & _ " s.type = 'text/javascript';" & @CRLF & _ " s.async = true;" & @CRLF & _ " s.src = '//munchkin.marketo.net/munchkin.js';" & @CRLF & _ " s.onreadystatechange = function() {" & @CRLF & _ " if (this.readyState == 'complete' || this.readyState == 'loaded') {" & @CRLF & _ " initMunchkin();" & @CRLF & _ " }" & @CRLF & _ " };" & @CRLF & _ " s.onload = initMunchkin;" & @CRLF & _ " document.getElementsByTagName('head')[0].appendChild(s);" & @CRLF & _ " })();" & @CRLF & _ " </script>" & @CRLF & _ "</body>" & @CRLF & _ "<!-- This beautiful and lightning fast landing page was proudly created with Leadpages ( see: https://www.leadpages.net ) and hosted on the Leadpages lead generation platform. -->" & @CRLF & _ "" & @CRLF & _ "</html>" Local $aArray = StringRegExp($sString, $sRegex, $STR_REGEXPARRAYGLOBALFULLMATCH) Local $aFullArray[0] For $i = 0 To UBound($aArray) -1 _ArrayConcatenate($aFullArray, $aArray[$i]) Next $aArray = $aFullArray ; Present the entire match result _ArrayDisplay($aArray, "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 AutoIt, please visit: https://www.autoitscript.com/autoit3/docs/functions/StringRegExp.htm