Regular Expressions 101

Save & Share

  • Regex Version: ver. 3
  • 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

/
/
mg

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 = "(?m)<span class=\"historyDash\">-<\/span>\s*((?:[^\<]|\n)*?)\s*<\/div>" Local $sString = "" & @CRLF & _ "<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">" & @CRLF & _ "<html>" & @CRLF & _ "<head>" & @CRLF & _ "<title>Steam Community :: TripleThreat :: Persona name history</title>" & @CRLF & _ "<link href="http://steamcommunity-a.akamaihd.net/public/shared/css/motiva_sans.css?v=F3z3QpekjE2f" rel="stylesheet" type="text/css" >" & @CRLF & _ "<link href="http://steamcommunity-a.akamaihd.net/public/shared/css/buttons.css?v=LNGz0aQrH--g" rel="stylesheet" type="text/css" >" & @CRLF & _ "<link href="http://steamcommunity-a.akamaihd.net/public/shared/css/shared_global.css?v=DOYfTk4evOTc" rel="stylesheet" type="text/css" >" & @CRLF & _ "<link href="http://steamcommunity-a.akamaihd.net/public/css/globalv2.css?v=RLlF4NbPEL4H" rel="stylesheet" type="text/css" >" & @CRLF & _ "<link href="http://steamcommunity-a.akamaihd.net/public/css/skin_1/global.css?v=gY3Z5G6712K3&amp;client=0" rel="stylesheet" type="text/css" >" & @CRLF & _ "<link href="http://steamcommunity-a.akamaihd.net/public/css/skin_1/group_history.css?v=8TYZeQAleI4j" rel="stylesheet" type="text/css" >" & @CRLF & _ "<link href="http://steamcommunity-a.akamaihd.net/public/css/skin_1/header.css?v=z3WBKGTLlnCN" rel="stylesheet" type="text/css" >" & @CRLF & _ " <script>" & @CRLF & _ " (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){" & @CRLF & _ " (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o)," & @CRLF & _ " m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)" & @CRLF & _ " })(window,document,'script','//www.google-analytics.com/analytics.js','ga');" & @CRLF & _ "" & @CRLF & _ " ga('create', 'UA-33779068-1', 'auto', {" & @CRLF & _ " 'sampleRate': 0.4 });" & @CRLF & _ " ga('set', 'dimension1', false );" & @CRLF & _ " ga('set', 'dimension2', 'External' );" & @CRLF & _ " ga('set', 'dimension3', 'profiles' );" & @CRLF & _ " ga('set', 'dimension4', "profiles\/namehistory" );" & @CRLF & _ " ga('send', 'pageview');" & @CRLF & _ "" & @CRLF & _ " </script>" & @CRLF & _ " <script type="text/javascript" src="http://steamcommunity-a.akamaihd.net/public/javascript/prototype-1.7.js?v=.55t44gwuwgvw"></script>" & @CRLF & _ "<script type="text/javascript" src="http://steamcommunity-a.akamaihd.net/public/javascript/scriptaculous/_combined.js?v=9XVsa_Ni33oN&amp;l=english&amp;load=effects,controls,slider,dragdrop"></script>" & @CRLF & _ "<script type="text/javascript" src="http://steamcommunity-a.akamaihd.net/public/javascript/global.js?v=VblJ8Wqm5w5i&amp;l=english"></script>" & @CRLF & _ "<script type="text/javascript" src="http://steamcommunity-a.akamaihd.net/public/javascript/jquery-1.11.1.min.js?v=.isFTSRckeNhC"></script>" & @CRLF & _ "<script type="text/javascript" src="http://steamcommunity-a.akamaihd.net/public/shared/javascript/tooltip.js?v=._0UFXFGgvme-"></script>" & @CRLF & _ "<script type="text/javascript" src="http://steamcommunity-a.akamaihd.net/public/shared/javascript/shared_global.js?v=pU8RP8XZB6Hb&amp;l=english"></script>" & @CRLF & _ "<script type="text/javascript">$J = jQuery.noConflict();" & @CRLF & _ "if ( typeof JSON != 'object' || !JSON.stringify || !JSON.parse ) { document.write( "<scr" + "ipt type=\"text\/javascript\" src=\"http:\/\/steamcommunity-a.akamaihd.net\/public\/javascript\/json2.js?v=pmScf4470EZP&amp;l=english\"><\/script>\n" ); };" & @CRLF & _ "</script></head>" & @CRLF & _ "<body>" & @CRLF & _ "<center>" & @CRLF & _ "<!-- header bar, contains info browsing user if logged in -->" & @CRLF & _ "<div id="global_header">" & @CRLF & _ " <div class="content">" & @CRLF & _ "" & @CRLF & _ " <div class="logo">" & @CRLF & _ " <span id="logo_holder">" & @CRLF & _ " <a href="http://store.steampowered.com/">" & @CRLF & _ " <img src="http://steamcommunity-a.akamaihd.net/public/shared/images/header/globalheader_logo.png" width="176" height="44">" & @CRLF & _ " </a>" & @CRLF & _ " </span>" & @CRLF & _ " <!--[if lt IE 7]>" & @CRLF & _ " <style type="text/css">" & @CRLF & _ " #logo_holder img { filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0); }" & @CRLF & _ " #logo_holder { display: inline-block; width: 176px; height: 44px; filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='http://steamcommunity-a.akamaihd.net/public/images/v5/globalheader_logo.png'); }" & @CRLF & _ " </style>" & @CRLF & _ " <![endif]-->" & @CRLF & _ " </div>" & @CRLF & _ "" & @CRLF & _ " <div class="supernav_container">" & @CRLF & _ " <a class="menuitem supernav" href="http://store.steampowered.com/" data-tooltip-type="selector" data-tooltip-content=".submenu_store">" & @CRLF & _ " STORE </a>" & @CRLF & _ " <div class="submenu_store" style="display: none;" data-submenuid="store">" & @CRLF & _ " <a class="submenuitem" href="http://store.steampowered.com/">Featured</a>" & @CRLF & _ " <a class="submenuitem" href="http://store.steampowered.com/explore/">Explore</a>" & @CRLF & _ " <a class="submenuitem" href="http://store.steampowered.com/curators/">Curators</a>" & @CRLF & _ " <a class="submenuitem" href="http://steamcommunity.com/my/wishlist/">Wishlist</a>" & @CRLF & _ " <a class="submenuitem" href="http://store.steampowered.com/news/">News</a>" & @CRLF & _ " <a class="submenuitem" href="http://store.steampowered.com/stats/">Stats</a>" & @CRLF & _ " </div>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " <a class="menuitem supernav" style="display: block" href="http://steamcommunity.com/" data-tooltip-type="selector" data-tooltip-content=".submenu_community">" & @CRLF & _ " COMMUNITY </a>" & @CRLF & _ " <div class="submenu_community" style="display: none;" data-submenuid="community">" & @CRLF & _ " <a class="submenuitem" href="http://steamcommunity.com/">Home</a>" & @CRLF & _ " <a class="submenuitem" href="http://steamcommunity.com/discussions/">Discussions</a>" & @CRLF & _ " <a class="submenuitem" href="http://steamcommunity.com/workshop/">Workshop</a>" & @CRLF & _ " <a class="submenuitem" href="http://steamcommunity.com/greenlight/">Greenlight</a>" & @CRLF & _ " <a class="submenuitem" href="http://steamcommunity.com/market/">Market</a>" & @CRLF & _ " <a class="submenuitem" href="http://steamcommunity.com/?subsection=broadcasts">Broadcasts</a>" & @CRLF & _ " </div>" & @CRLF & _ "" & @CRLF & _ " " & @CRLF & _ "" & @CRLF & _ " " & @CRLF & _ " <a class="menuitem" href="http://store.steampowered.com/about/">" & @CRLF & _ " ABOUT </a>" & @CRLF & _ " " & @CRLF & _ " <a class="menuitem" href="https://help.steampowered.com/en/">" & @CRLF & _ " SUPPORT </a>" & @CRLF & _ " </div>" & @CRLF & _ " <script type="text/javascript">" & @CRLF & _ " jQuery(function($) {" & @CRLF & _ " $('.tooltip').v_tooltip();" & @CRLF & _ " $('#global_header .supernav').v_tooltip({'location':'bottom', 'tooltipClass': 'supernav_content', 'offsetY':-4, 'offsetX': 1, 'horizontalSnap': 4, 'tooltipParent': '#global_header .supernav_container', 'correctForScreenSize': false});" & @CRLF & _ " });" & @CRLF & _ " </script>" & @CRLF & _ "" & @CRLF & _ " <div id="global_actions">" & @CRLF & _ " <div id="global_action_menu">" & @CRLF & _ " <div class="header_installsteam_btn header_installsteam_btn_green">" & @CRLF & _ " <div class="header_installsteam_btn_leftcap"></div>" & @CRLF & _ " <div class="header_installsteam_btn_rightcap"></div>" & @CRLF & _ " <a class="header_installsteam_btn_content" href="http://store.steampowered.com/about/">" & @CRLF & _ " Install Steam </a>" & @CRLF & _ " </div>" & @CRLF & _ "" & @CRLF & _ " " & @CRLF & _ " <a class="global_action_link" href="https://steamcommunity.com/login/home/?goto=id%2FTripleThreat%2Fnamehistory">login</a>" & @CRLF & _ " &nbsp;|&nbsp;" & @CRLF & _ " <span class="pulldown global_action_link" id="language_pulldown" onclick="ShowMenu( this, 'language_dropdown', 'right' );">language</span>" & @CRLF & _ " <div class="popup_block_new" id="language_dropdown" style="display: none;">" & @CRLF & _ " <div class="popup_body popup_menu">" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=bulgarian" onclick="ChangeLanguage( 'bulgarian' ); return false;">Български (Bulgarian)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=czech" onclick="ChangeLanguage( 'czech' ); return false;">čeština (Czech)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=danish" onclick="ChangeLanguage( 'danish' ); return false;">Dansk (Danish)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=dutch" onclick="ChangeLanguage( 'dutch' ); return false;">Nederlands (Dutch)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=finnish" onclick="ChangeLanguage( 'finnish' ); return false;">Suomi (Finnish)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=french" onclick="ChangeLanguage( 'french' ); return false;">Français (French)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=german" onclick="ChangeLanguage( 'german' ); return false;">Deutsch (German)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=greek" onclick="ChangeLanguage( 'greek' ); return false;">Ελληνικά (Greek)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=hungarian" onclick="ChangeLanguage( 'hungarian' ); return false;">Magyar (Hungarian)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=italian" onclick="ChangeLanguage( 'italian' ); return false;">Italiano (Italian)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=japanese" onclick="ChangeLanguage( 'japanese' ); return false;">日本語 (Japanese)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=koreana" onclick="ChangeLanguage( 'koreana' ); return false;">한국어 (Korean)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=norwegian" onclick="ChangeLanguage( 'norwegian' ); return false;">Norsk (Norwegian)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=polish" onclick="ChangeLanguage( 'polish' ); return false;">Polski (Polish)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=portuguese" onclick="ChangeLanguage( 'portuguese' ); return false;">Português (Portuguese)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=brazilian" onclick="ChangeLanguage( 'brazilian' ); return false;">Português-Brasil (Portuguese-Brazil)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=romanian" onclick="ChangeLanguage( 'romanian' ); return false;">Română (Romanian)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=russian" onclick="ChangeLanguage( 'russian' ); return false;">Русский (Russian)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=schinese" onclick="ChangeLanguage( 'schinese' ); return false;">简体中文 (Simplified Chinese)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=spanish" onclick="ChangeLanguage( 'spanish' ); return false;">Español (Spanish)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=swedish" onclick="ChangeLanguage( 'swedish' ); return false;">Svenska (Swedish)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=tchinese" onclick="ChangeLanguage( 'tchinese' ); return false;">繁體中文 (Traditional Chinese)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=thai" onclick="ChangeLanguage( 'thai' ); return false;">ไทย (Thai)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=turkish" onclick="ChangeLanguage( 'turkish' ); return false;">Türkçe (Turkish)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="?l=ukrainian" onclick="ChangeLanguage( 'ukrainian' ); return false;">Українська (Ukrainian)</a>" & @CRLF & _ " <a class="popup_menu_item tight" href="http://translation.steampowered.com" target="_blank">Help us translate Steam</a>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ "</div>" & @CRLF & _ "<div id="modalBG" style="display: none"></div><script type="text/javascript">" & @CRLF & _ " g_sessionID = "64b42b79f53030fe530e09fa";" & @CRLF & _ " g_steamID = false;" & @CRLF & _ "" & @CRLF & _ " // We always want to have the timezone cookie set for PHP to use" & @CRLF & _ " setTimezoneCookies();" & @CRLF & _ "" & @CRLF & _ " $J( function() {" & @CRLF & _ "" & @CRLF & _ " InitMiniprofileHovers();" & @CRLF & _ " InitEmoticonHovers();" & @CRLF & _ " window.BindCommunityTooltip = function( $Selector ) { $Selector.v_tooltip( {'tooltipClass': 'community_tooltip', 'dataName': 'communityTooltip' } ); };" & @CRLF & _ " BindCommunityTooltip( $J('[data-community-tooltip]') );" & @CRLF & _ " });" & @CRLF & _ "" & @CRLF & _ " $J( function() { InitEconomyHovers( "http:\/\/steamcommunity-a.akamaihd.net\/public\/css\/skin_1\/economy.css?v=k1KbRUnfe-Sy", "http:\/\/steamcommunity-a.akamaihd.net\/public\/javascript\/economy_common.js?v=tsXdRVB0yEaR&l=english", "http:\/\/steamcommunity-a.akamaihd.net\/public\/javascript\/economy.js?v=KgoJ8nBUSyBe&l=english" );});</script><!-- /header bar -->" & @CRLF & _ "<div id="mainBody">" & @CRLF & _ "<!-- main contents -->" & @CRLF & _ " <div id="mainContents">" & @CRLF & _ " <!-- top content -->" & @CRLF & _ " <div id="topGroupAvatar">" & @CRLF & _ " <div class="mediumHolder_default"><div class="avatarMedium"><a href="http://steamcommunity.com/id/TripleThreat"><img src="http://cdn.akamai.steamstatic.com/steamcommunity/public/images/avatars/80/809c91ef963bce53195c205066f91babc729e647_medium.jpg" /></a></div></div>" & @CRLF & _ " </div>" & @CRLF & _ " <h2>Persona name history</h2>" & @CRLF & _ " <h1><a id="topNameLink" href="http://steamcommunity.com/id/TripleThreat">TripleThreat</a></h1>" & @CRLF & _ " <!-- /top content -->" & @CRLF & _ " <!-- main body -->" & @CRLF & _ " <br />" & @CRLF & _ "" & @CRLF & _ " <div class="historyItem">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 23 @ 12:15pm</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " TripleThreat </div>" & @CRLF & _ " <div class="historyItemb">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 23 @ 9:21am</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " [FD] TripleThreat.blyat </div>" & @CRLF & _ " <div class="historyItem">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 23 @ 8:45am</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " 9 </div>" & @CRLF & _ " <div class="historyItemb">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 23 @ 8:45am</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " 7 </div>" & @CRLF & _ " <div class="historyItem">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 23 @ 8:45am</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " 5 </div>" & @CRLF & _ " <div class="historyItemb">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 23 @ 8:45am</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " 3 </div>" & @CRLF & _ " <div class="historyItem">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 23 @ 8:45am</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " 1 </div>" & @CRLF & _ " <div class="historyItemb">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 22 @ 6:10pm</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " This is a test </div>" & @CRLF & _ " <div class="historyItem">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jul 14 @ 5:28pm</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " [FD] TripleThreat </div>" & @CRLF & _ " <div class="historyItemb">" & @CRLF & _ " <div class="historyIcon"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/HistoryNameChange.gif" width="13" height="12" border="0" /></div>" & @CRLF & _ " <span class="historyShort">Name Changed</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " <span class="historyDate">Jun 30 @ 5:44pm</span>" & @CRLF & _ " <span class="historyDash">-</span>" & @CRLF & _ " admin </div>" & @CRLF & _ " <br clear="all" />" & @CRLF & _ " </div>" & @CRLF & _ "<br clear="all" />" & @CRLF & _ "</div>" & @CRLF & _ "<!-- footer -->" & @CRLF & _ " <div id="footer_spacer"></div>" & @CRLF & _ " <div id="footer_responsive_optin_spacer"></div>" & @CRLF & _ " <div id="footer">" & @CRLF & _ " <div class="footer_content">" & @CRLF & _ " <span id="footerLogo"><img src="http://steamcommunity-a.akamaihd.net/public/images/skin_1/footerLogo_valve.png?v=1" width="96" height="26" border="0" alt="Valve Logo" /></span>" & @CRLF & _ " <span id="footerText">" & @CRLF & _ " &copy; Valve Corporation. All rights reserved. All trademarks are property of their respective owners in the US and other countries.<br/>Some geospatial data on this website is provided by <a href="https://steamcommunity.com/linkfilter/?url=http://www.geonames.org" target="_blank" rel="noreferrer">geonames.org</a>. <br>" & @CRLF & _ " <span class="valve_links">" & @CRLF & _ " <a href="http://store.steampowered.com/privacy_agreement/" target="_blank">Privacy Policy</a>" & @CRLF & _ " &nbsp; | &nbsp;<a href="http://www.valvesoftware.com/legal.htm" target="_blank">Legal</a>" & @CRLF & _ " &nbsp;| &nbsp;<a href="http://store.steampowered.com/subscriber_agreement/" target="_blank">Steam Subscriber Agreement</a>" & @CRLF & _ " </span>" & @CRLF & _ " </span>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="responsive_optin_link">" & @CRLF & _ " <div class="btn_medium btnv6_grey_black" onclick="Responsive_RequestMobileView()">" & @CRLF & _ " <span>View mobile website</span>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ " " 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