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

/
/
g

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>(.*?)<i" Local $sString = "<html>" & @CRLF & _ "<head>" & @CRLF & _ " <meta http-equiv="Content-Type" content="text/html; charset=utf-8">" & @CRLF & _ " <meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">" & @CRLF & _ " <link rel="Shortcut Icon" href="//www.dpfile.com/s/res/favicon.5ff777c11d7833e57e01c9d192b7e427.ico" type="image/x-icon" />" & @CRLF & _ " <meta name="apple-mobile-web-app-status-bar-style" content="black" />" & @CRLF & _ " <meta name="format-detection" content="telephone=no" />" & @CRLF & _ " <meta name="format-detection" content="email=no" />" & @CRLF & _ " <meta name="apple-mobile-web-app-title" content="大众点评">" & @CRLF & _ " <meta name="location" content="province=湖北;city=武汉">" & @CRLF & _ " <link rel="apple-touch-icon-precomposed" href="//www.dpfile.com/m/img/app/dianping/logoforiphone.eb494fad081fe8a318aec427d5de0b43.png>" />" & @CRLF & _ " <link rel="apple-touch-startup-image" href="//www.dpfile.com/m/img/app/dianping/iphonesplash.88eba14b27357f754baa669bebbdd78b.png" />" & @CRLF & _ " <link rel="stylesheet" href="//www.dpfile.com/m/css/app/dianping/m.min.582950054934c1715c0170a250837783.css" type="text/css" />" & @CRLF & _ " <link rel="stylesheet" href="//www.dpfile.com/s/c/app/baby/pop_box.min.c35d50b401fd089d65542dcdd88c71f1.css" type="text/css" />" & @CRLF & _ " <link rel="stylesheet" href="//www.dpfile.com/s/c/app/baby/addbaby-shop.min.fb7723790da2b9cbd4d254e58919b0a4.css" type="text/css" />" & @CRLF & _ " <link rel="canonical" href="https://m.dianping.com/shop/24928984"/>" & @CRLF & _ " <link rel="stylesheet" href="//www.dpfile.com/s/c/app/baby/mshop-wedding.min.89a81ca247f436abd72183b60df5e70f.css" type="text/css" />" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " <title>VIA婚礼电影地址,电话,价格(图)-武汉-大众点评网</title>" & @CRLF & _ "" & @CRLF & _ " <!-- OWL性能监控 -->" & @CRLF & _ " <script type="text/javascript">" & @CRLF & _ " "use strict";!function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"_Owl_",n=window,a={page:!0,resource:!0,js:!0};n[i]||(n[i]={isRunning:!1,isReady:!1,preTasks:[],config:a,dataSet:[],use:function(i,a){this.isReady&&n.Owl&&n.Owl[i](a),this.preTasks.push({api:i,data:[a]})},add:function(i){this.dataSet.push(i)},run:function(i){var a=this;if(!this.isRunning){this.isRunning=!0;var e=i||this.config;if(!1!==e.js){var t=n.onerror;n.onerror=function(){this.isReady||this.add({type:"jsError",data:arguments}),t&&t.apply(n,arguments)}.bind(this)}!1!==e.page&&n.addEventListener("load",function(){if(!a.isReady){var i=window.performance&&window.performance.timing;a.add({type:"pageTime",data:[i]})}}),!1!==e.resource&&(window.addEventListener("error",function(i){a.isReady||a.add({type:"resError",data:[i]})},!0),window.addEventListener("load",function(i){a.isReady||a.add({type:"resTime",data:[i]})}))}}})}();" & @CRLF & _ "" & @CRLF & _ " //默认配置启动全部监控,业务可根据需要手动关闭其中任一种类的监控,_Owl_为全局变量" & @CRLF & _ " _Owl_.run({" & @CRLF & _ " page: true, //页面性能采集" & @CRLF & _ " js: true, //JS全局错误采集" & @CRLF & _ " resource: true //资源加载错误、性能采集" & @CRLF & _ " })" & @CRLF & _ " </script>" & @CRLF & _ " <script src="//www.dpfile.com/app/owl/static/owl.min.6fc79953c93428c073682e6bd24e9e96.js"></script>" & @CRLF & _ " <script type="text/javascript">" & @CRLF & _ " Owl.start({" & @CRLF & _ " // 建议使用前端项目名,package.json或者f2eci.json中的name" & @CRLF & _ " project: 'wedding-h5-web'," & @CRLF & _ " /* 强烈建议业务进行配置,有利于数据的聚合" & @CRLF & _ " * 当前页面所属的页面URL,默认会使用window.location.href" & @CRLF & _ " * 建议不要直接使用location.href," & @CRLF & _ " * 可以是非URL,比如'toutiao-detail'" & @CRLF & _ " */" & @CRLF & _ " pageUrl: 'https://m.dianping.com/shop'" & @CRLF & _ " })" & @CRLF & _ " </script>" & @CRLF & _ "" & @CRLF & _ " <meta name="Keywords" content="VIA婚礼电影,婚礼跟拍,武汉,"/>" & @CRLF & _ " <meta name="Description" content="武汉VIA婚礼电影人均:¥4550元。点击查看更多关于VIA婚礼电影的简介、地址、电话、营业时间介绍和周边停车、公交等交通信息,以及VIA婚礼电影的用户点评信息。"/>" & @CRLF & _ " <script>var G_rtop=+new Date, _hip = [" & @CRLF & _ " ['_setPageId', 210008]," & @CRLF & _ " ['_setCityId', 16]" & @CRLF & _ " ];" & @CRLF & _ " </script>" & @CRLF & _ "" & @CRLF & _ " <script>" & @CRLF & _ " (function(WIN) {" & @CRLF & _ " var MIDASCOOKIE = 'midasclick'," & @CRLF & _ " cookie," & @CRLF & _ " DOC = WIN.document," & @CRLF & _ " cookieArr = DOC.cookie.match(new RegExp("(^| )" + MIDASCOOKIE + "=([^;]*)(;|$)"))," & @CRLF & _ " send = function(url) {" & @CRLF & _ " new Image(1, 1).src = url;" & @CRLF & _ " }," & @CRLF & _ " sendMidas = function(data) {" & @CRLF & _ " var base;" & @CRLF & _ " if (!/\.dianping\.com/.test(DOC.domain)) {" & @CRLF & _ " base = 'https://mlog.51ping' + '.com/log?';" & @CRLF & _ " } else {" & @CRLF & _ " base = 'https://mlog.dianping' + '.com/log?';" & @CRLF & _ " }" & @CRLF & _ " send(base + data + '&act=2&t=' + new Date().getTime());" & @CRLF & _ " };" & @CRLF & _ " cookie = cookieArr == null ? '""' : decodeURIComponent(cookieArr[2]);" & @CRLF & _ " if(cookie != '""') {" & @CRLF & _ " var data = cookie.split('|');" & @CRLF & _ " sendMidas(data[0]);" & @CRLF & _ " data[1] && send(data[1]);" & @CRLF & _ " document.cookie = MIDASCOOKIE + '="";path=/';" & @CRLF & _ " }" & @CRLF & _ " })(window);" & @CRLF & _ " </script>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " <script>" & @CRLF & _ " !function(e,t,n){function s(){var e=t.createElement("script");e.async=!0,e.src="https://s0.meituan.net/bs/js/?f=mta-js:mta.min.js";var n=t.getElementsByTagName("script")[0];n.parentNode.insertBefore(e,n)}if(e.MeituanAnalyticsObject=n,e[n]=e[n]||function(){(e[n].q=e[n].q||[]).push(arguments)},"complete"===t.readyState)s();else{var r="addEventListener",i="attachEvent";if(e[r])e[r]("load",s,!1);else if(e[i])e[i]("onload",s);else{var a=e.onload;e.onload=function(){s(),a&&a()}}}}(window,document,"mta"),function(e,t,n){if(t&&!("_mta"in t)){t._mta=!0;var s=e.location.protocol;if("file:"!==s){var r=e.location.host,i=t.prototype.open;t.prototype.open=function(t,n,a,o,h){if(this._method="string"==typeof t?t.toUpperCase():null,n){if(0===n.indexOf("http://")||0===n.indexOf("https://")||0===n.indexOf("//"))this._url=n;else if(0===n.indexOf("/"))this._url=s+"//"+r+n;else{var l=s+"//"+r+e.location.pathname;l=l.substring(0,l.lastIndexOf("/")+1),this._url=l+n}var u=this._url.indexOf("?");-1!==u?(this._searchLength=this._url.length-1-u,this._url=this._url.substring(0,u)):this._searchLength=0}else this._url=null,this._searchLength=0;return this._startTime=(new Date).getTime(),i.apply(this,arguments)};var a="onreadystatechange",o="addEventListener",h=t.prototype.send;t.prototype.send=function(t){function n(n,r){if(0!==n._url.indexOf(s+"//frep.meituan.net/_.gif")){for(var i="browser.ajax",a=[98,114,111,119,115,101,114,46,97,106,97,120],o=0,h=i.length;h>o;o++)if(i.charCodeAt(o)!==a[o])return;var l;if(n.response)switch(n.responseType){case"json":l=JSON&&JSON.stringify(n.response).length;break;case"blob":case"moz-blob":l=n.response.size;break;case"arraybuffer":l=n.response.byteLength;case"document":l=n.response.documentElement&&n.response.documentElement.innerHTML&&n.response.documentElement.innerHTML.length+28;break;default:l=n.response.length}e.mta("send",i,{url:n._url,method:n._method,error:!(0===n.status.toString().indexOf("2")||304===n.status),responseTime:(new Date).getTime()-n._startTime,requestSize:n._searchLength+(t?t.length:0),responseSize:l||0})}}if(o in this){var r=function(e){n(this,e)};this[o]("load",r),this[o]("error",r),this[o]("abort",r)}else{var i=this[a];this[a]=function(t){i&&i.apply(this,arguments),4===this.readyState&&e.mta&&n(this,t)}}return h.apply(this,arguments)}}}}(window,window.XMLHttpRequest,"mta");" & @CRLF & _ "" & @CRLF & _ " // 初始化项目" & @CRLF & _ " mta("create","5875d3e36b783664e0db0ae4");" & @CRLF & _ " // 推荐设置上报地址为 HTTPS 协议,以获得更高的数据准确性,默认会和页面协议一致" & @CRLF & _ " mta("config", "beaconImage", "https://frep.meituan.com/_.gif");" & @CRLF & _ "" & @CRLF & _ " // 发送页面性能指标,包括 ttfb(首字节)、domReady(可交互)、load(完全加载)等" & @CRLF & _ " mta("send","page");" & @CRLF & _ " </script>" & @CRLF & _ "" & @CRLF & _ " <!-- 上报通道标识 -->" & @CRLF & _ " <!-- 用来替换掉3.0中的通道配置,如Analytics('use', 'wed') -->" & @CRLF & _ " <meta name="lx:category" content="wed">" & @CRLF & _ "" & @CRLF & _ " <!-- 上报应用标识 -->" & @CRLF & _ " <!-- 用来替换掉3.0中的标识,如Analytics('config', 'appnm', 'dp_pc') -->" & @CRLF & _ " <meta name="lx:appnm" content="dp_m">" & @CRLF & _ "" & @CRLF & _ " <!-- 页面名称:点评结婚pc优惠券详情页,上报页面标识 -->" & @CRLF & _ " <!-- 用来替换掉3.0中的cid配置,如Analytics('config', 'cid', 'c_j6wjibts') -->" & @CRLF & _ " <meta name="lx:cid" content="dp210008">" & @CRLF & _ "" & @CRLF & _ " <!-- 加载sdk -->" & @CRLF & _ " <link rel="dns-prefetch" href="//analytics.meituan.net"/>" & @CRLF & _ " <script type="text/javascript">" & @CRLF & _ " !(function (win, doc, ns) {" & @CRLF & _ " var cacheFunName = '_MeiTuanALogObject';" & @CRLF & _ " win[cacheFunName] = ns;" & @CRLF & _ " if (!win[ns]) {" & @CRLF & _ " var _LX = function () {" & @CRLF & _ " _LX.q.push(arguments);" & @CRLF & _ " return _LX;" & @CRLF & _ " };" & @CRLF & _ " _LX.q = _LX.q || [];" & @CRLF & _ " _LX.l = +new Date();" & @CRLF & _ " win[ns] = _LX;" & @CRLF & _ " }" & @CRLF & _ " })(window, document, 'LXAnalytics');" & @CRLF & _ "" & @CRLF & _ " //这里放置兼容代码" & @CRLF & _ " window.Analytics = function(eventStr, config) {" & @CRLF & _ " if(eventStr != 'event') return;" & @CRLF & _ " if(!config) return;" & @CRLF & _ " var nm = config.nm;" & @CRLF & _ " if(!nm) return;" & @CRLF & _ "" & @CRLF & _ " if(nm === 'mge'){" & @CRLF & _ " var eventType = config.event_type;" & @CRLF & _ " if(eventType === 'click'){" & @CRLF & _ " window.LXAnalytics('moduleClick', config.val_bid, config.val_lab);" & @CRLF & _ " return;" & @CRLF & _ " }" & @CRLF & _ " if(eventType === 'view'){" & @CRLF & _ " window.LXAnalytics('moduleView', config.val_bid, config.val_lab);" & @CRLF & _ " return;" & @CRLF & _ " }" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " if(nm === 'order'){" & @CRLF & _ " window.LXAnalytics('order', config.val_bid, config.val_lab.orderId, config.val_lab);" & @CRLF & _ " return;" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " if(nm === 'pay'){" & @CRLF & _ " window.LXAnalytics('pay', config.val_bid, config.val_lab.orderId, config.val_lab);" & @CRLF & _ " return;" & @CRLF & _ " }" & @CRLF & _ "" & @CRLF & _ " if(nm === 'report' && config.val_act === 'quit'){" & @CRLF & _ " window.LXAnalytics('pageDisappear', config.val_lab);" & @CRLF & _ " return;" & @CRLF & _ " }" & @CRLF & _ " };" & @CRLF & _ "" & @CRLF & _ " </script>" & @CRLF & _ " <script type="text/javascript">" & @CRLF & _ " var OPTION = {" & @CRLF & _ " shopid:'24928984'," & @CRLF & _ " cityid:'16'" & @CRLF & _ " };" & @CRLF & _ "" & @CRLF & _ " var lx_mge = function(bid,eventType,customOption){" & @CRLF & _ " Analytics && Analytics('event',{" & @CRLF & _ " nm:'mge'," & @CRLF & _ " event_type:eventType," & @CRLF & _ " val_bid:bid," & @CRLF & _ " val_lab:{" & @CRLF & _ " custom:customOption" & @CRLF & _ " }" & @CRLF & _ " });" & @CRLF & _ " };" & @CRLF & _ "" & @CRLF & _ " var lx_headpic = function(){lx_mge('b_p4ruj0id','click',OPTION)}; //点评M商详页-头图" & @CRLF & _ " var lx_address = function(){lx_mge('b_uflh7iq8','click',OPTION)}; //点评M商详页-地址" & @CRLF & _ " var lx_headphone = function(){lx_mge('b_xo8j77m5','click',OPTION)}; //点评M商详页-电话" & @CRLF & _ " var lx_bottomphone = function(){lx_mge('b_r3kg5p2t','click',OPTION)}; //点评M商详页-吸底电话" & @CRLF & _ " var lx_bottonbooking = function(){lx_mge('b_m27awl58','click',OPTION)}; //点评M商详页-吸底预约" & @CRLF & _ " var lx_promo = function(){lx_mge('b_bzla7o5l','click',OPTION)}; //点评M商详页-领取优惠" & @CRLF & _ " var lx_bottomzixun = function(){lx_mge('b_sgnmdp04','click',OPTION)}; //点评M商详页-吸底咨询" & @CRLF & _ " var lx_dangqi = function(){lx_mge('b_vznaip5e','click',OPTION)}; //点评M商详页-查询档期" & @CRLF & _ " var lx_dingzhi = function(){lx_mge('b_2bntzmll','click',OPTION)}; //点评M商详页-定制申请" & @CRLF & _ " var lx_allcases = function(){lx_mge('b_hepz01kp','click',OPTION)}; //点评M商详页-全部案例" & @CRLF & _ " var lx_case = function(){lx_mge('b_dharagxc','click',OPTION)}; //点评M商详页-案例展示" & @CRLF & _ " var lx_allproduct = function(){lx_mge('b_37cfvedh','click',OPTION)}; //点评M商详页-全部套餐" & @CRLF & _ " var lx_product = function(){lx_mge('b_i9nl3dzv','click',OPTION)}; //点评M商详页-套餐展示" & @CRLF & _ " var lx_deal = function(){lx_mge('b_kwq78m9d','click',OPTION)}; //点评M商详页-团购" & @CRLF & _ " var lx_review = function(){lx_mge('b_oyibebfz','click',OPTION)}; //点评M商详页-点评展示" & @CRLF & _ " var lx_album = function(){lx_mge('b_tpckedbz','click',OPTION)}; //点评M商详页-会员相册" & @CRLF & _ " var lx_shopinfo = function(){lx_mge('b_qpog17gk','click',OPTION)}; //点评M商详页-商户信息" & @CRLF & _ "" & @CRLF & _ " </script>" & @CRLF & _ "</head>" & @CRLF & _ "<body>" & @CRLF & _ "" & @CRLF & _ "<div class="epoplayer Hide"></div>" & @CRLF & _ "<header class="shop-head">" & @CRLF & _ " <a href="javascript:history.go(-1)" class="back"></a>" & @CRLF & _ " <div class="placeholder"></div>" & @CRLF & _ " <div class="title">商户详情</div>" & @CRLF & _ " <a class="shop-share J_btnShare" href="javascript:;"></a>" & @CRLF & _ "</header>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "<section class="shop-details">" & @CRLF & _ "<article class="pic">" & @CRLF & _ " <a onclick="_hip.push(['mv', {module:'viewphoto',action:'click',shopid:'24928984',categoryid:'185'}]);">" & @CRLF & _ " </a>" & @CRLF & _ "" & @CRLF & _ " <div class="img-part">" & @CRLF & _ " <div id="bannerSlide" class="over-hidden" style="visibility: visible;">" & @CRLF & _ " <div class="swipe-wrap">" & @CRLF & _ " <div class="img-item" data-index="0"><img src="//p0.meituan.net/wedding/7e24847608a706cb10bf2dd1da03273b1059646.jpg%40640w_360h_1e_1c_1l_85q%7Cwatermark%3D0" alt="VIA婚礼电影"></div>" & @CRLF & _ " <div class="img-item" data-index="0"><img data-lazyload="//p1.meituan.net/wedding/e78e28cdd4e0a5233accf7e168a26370927987.jpg%40640w_360h_1e_1c_1l_85q%7Cwatermark%3D0" alt="VIA婚礼电影"></div>" & @CRLF & _ " <div class="img-item" data-index="0"><img data-lazyload="//p0.meituan.net/wedding/fb24699bbbbebf9a147d82ef5f05b16e812521.jpg%40640w_360h_1e_1c_1l_85q%7Cwatermark%3D0" alt="VIA婚礼电影"></div>" & @CRLF & _ " <div class="img-item" data-index="0"><img data-lazyload="//p0.meituan.net/wedding/0a4bf2e39240e1d773d102ad69a15159658204.jpg%40640w_360h_1e_1c_1l_85q%7Cwatermark%3D0" alt="VIA婚礼电影"></div>" & @CRLF & _ " <div class="img-item" data-index="0"><img data-lazyload="//p0.meituan.net/wedding/e24aef07ae9585925b7ec2798caf4d5d545288.jpg%40640w_360h_1e_1c_1l_85q%7Cwatermark%3D0" alt="VIA婚礼电影"></div>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ "" & @CRLF & _ " <ul class="circles">" & @CRLF & _ " <li class="on"></li>" & @CRLF & _ " <li></li>" & @CRLF & _ " <li></li>" & @CRLF & _ " </ul>" & @CRLF & _ " </div>" & @CRLF & _ "</article>" & @CRLF & _ "" & @CRLF & _ "<article class="text">" & @CRLF & _ " <h1 class="shopname">VIA婚礼电影</h1>" & @CRLF & _ "" & @CRLF & _ " <p>" & @CRLF & _ " <span class="star star-40"></span>" & @CRLF & _ " <span class="des">52条</span>" & @CRLF & _ " <span class="line">|</span>" & @CRLF & _ " <span class="aver">人均¥4550</span>" & @CRLF & _ " </p>" & @CRLF & _ "</article>" & @CRLF & _ "</section>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "<section class="info-details">" & @CRLF & _ " <p class="top-border-height"></p>" & @CRLF & _ " <article class="tel bottom-border">" & @CRLF & _ " <a id="telphone" href="tel:02765024020"" & @CRLF & _ "onclick="_hip.push(['mv', {module:'mshopinfoq_tel',action:'click',shopid:'24928984' }]);lx_headphone();"" & @CRLF & _ " >" & @CRLF & _ " <i class="i-tel"></i>65024020<span class="tips">到店请提前预约</span><i class="arrow-ent right"></i>" & @CRLF & _ " </a>" & @CRLF & _ "</article>" & @CRLF & _ " <a href="/shop/24928984/map"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_address',action:'click',shopid:'24928984'}]);lx_address();"" & @CRLF & _ " >" & @CRLF & _ " <article class="add bottom-border">" & @CRLF & _ " <i class="i-add"></i>江汉路宝利金国际广场A座822室<i class="arrow-ent right"></i>" & @CRLF & _ " </article>" & @CRLF & _ "</a>" & @CRLF & _ "" & @CRLF & _ "</section>" & @CRLF & _ "" & @CRLF & _ "<section class="pop-window" id="popWindow">" & @CRLF & _ " <h3>确认提示</h3>" & @CRLF & _ " <div class="content">" & @CRLF & _ " <p>当前号码:65024020</p>" & @CRLF & _ " <div class="btn-area Fix">" & @CRLF & _ " <button class="J-cancel button cancelbtn"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'actionbar_tel_cancel',action:'click',shopid:'24928984'}]);"" & @CRLF & _ " >取消</button>" & @CRLF & _ " <a href="tel:02765024020" class="J-call button callbtn"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'actionbar_tel_accept',action:'click',shopid:'24928984'}]);"" & @CRLF & _ " >拨号</a>" & @CRLF & _ " </div>" & @CRLF & _ " </div>" & @CRLF & _ "</section>" & @CRLF & _ "<div class="pop-mask" id="popMask"></div>" & @CRLF & _ "<!-- 新增商户服务楼层 16-02-23 shaochuanhe -->" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "<section class="interest-details J_midas-21004"></section>" & @CRLF & _ "" & @CRLF & _ "<section class="hotsales-details">" & @CRLF & _ " <p class="top-border-height"></p>" & @CRLF & _ " <ul class="con">" & @CRLF & _ " <li>" & @CRLF & _ " <a href="/wed/mobile/shop/24928984/product/1233971"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_product',action:'click',shopid:'24928984',index:'0'}]);"" & @CRLF & _ " >" & @CRLF & _ " <img data-lazyload="//p0.meituan.net/wedding/bc5e6f750cc1176fd2fa0059250da9ed961567.jpg%40280w_210h_1e_1c_1l%7Cwatermark%3D0">" & @CRLF & _ " <h4>「总监高级档」婚礼摄像三机位(含小摇臂)</h4>" & @CRLF & _ " <p>" & @CRLF & _ " <mark>¥6800</mark>" & @CRLF & _ " <span>¥6800</span>" & @CRLF & _ " </p>" & @CRLF & _ " </a>" & @CRLF & _ " </li>" & @CRLF & _ " <li>" & @CRLF & _ " <a href="/wed/mobile/shop/24928984/product/1168008"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_product',action:'click',shopid:'24928984',index:'1'}]);"" & @CRLF & _ " >" & @CRLF & _ " <img data-lazyload="//p0.meituan.net/wedding/6b319814085ce8a1c327aa55794ba8d9767913.jpg%40280w_210h_1e_1c_1l%7Cwatermark%3D0">" & @CRLF & _ " <h4>东湖会所婚礼集锦『总监双机』</h4>" & @CRLF & _ " <p>" & @CRLF & _ " <mark>¥4800</mark>" & @CRLF & _ " <span>¥4800</span>" & @CRLF & _ " </p>" & @CRLF & _ " </a>" & @CRLF & _ " </li>" & @CRLF & _ " <li>" & @CRLF & _ " <a href="/wed/mobile/shop/24928984/product/1167708"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_product',action:'click',shopid:'24928984',index:'2'}]);"" & @CRLF & _ " >" & @CRLF & _ " <img data-lazyload="//p1.meituan.net/wedding/68920610c7885333ecbeed8a7a92fd731037427.jpg%40280w_210h_1e_1c_1l%7Cwatermark%3D0">" & @CRLF & _ " <h4>婚前MV+婚礼豪华套餐档</h4>" & @CRLF & _ " <p>" & @CRLF & _ " <mark>¥9800</mark>" & @CRLF & _ " <span>¥9800</span>" & @CRLF & _ " </p>" & @CRLF & _ " </a>" & @CRLF & _ " </li>" & @CRLF & _ " <li>" & @CRLF & _ " <a href="/wed/mobile/shop/24928984/product/1164712"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_product',action:'click',shopid:'24928984',index:'3'}]);"" & @CRLF & _ " >" & @CRLF & _ " <img data-lazyload="//p0.meituan.net/wedding/152f14468329801a8f4b1da39912c6e2700902.jpg%40280w_210h_1e_1c_1l%7Cwatermark%3D0">" & @CRLF & _ " <h4>「总监档」婚礼摄像双机位</h4>" & @CRLF & _ " <p>" & @CRLF & _ " <mark>¥4800</mark>" & @CRLF & _ " <span>¥4800</span>" & @CRLF & _ " </p>" & @CRLF & _ " </a>" & @CRLF & _ " </li>" & @CRLF & _ " </ul>" & @CRLF & _ " <p class="bottom-border-height"></p>" & @CRLF & _ "</section>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "<section class="comment-details">" & @CRLF & _ " <p class="top-border-height"></p>" & @CRLF & _ " <article class="tit">" & @CRLF & _ " <a href="/shop/24928984/review_all"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_viewreview',action:'click',shopid:'24928984'}]);lx_review();"" & @CRLF & _ " >" & @CRLF & _ " <h3>用户点评(18)<i class="arrow-ent right"></i></h3>" & @CRLF & _ " </a>" & @CRLF & _ " <p class="bottom-border-height"></p>" & @CRLF & _ " </article>" & @CRLF & _ " <article>" & @CRLF & _ " <a class="comment-list" href="/shop/24928984/review_all"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_viewreview',action:'click',shopid:'24928984'}]);lx_review();"" & @CRLF & _ " >" & @CRLF & _ " <img src="https://p1.meituan.net/userheadpicbackend/f817a0e19cba7a274b44a18fd5f11ab459248.jpg%40120w_120h_1e_1c_1l%7Cwatermark%3D0" class="user-pic">" & @CRLF & _ " <figure class="comment">" & @CRLF & _ " <figcaption class="username">减肥中的珺珺</figcaption>" & @CRLF & _ " <p class="info">" & @CRLF & _ " <span class="star star-50"></span>" & @CRLF & _ " </p>" & @CRLF & _ " <p class="comment-entry">" & @CRLF & _ " 婚礼准备和各项选择都是自己去跑的(除了酒店),当时下班过去探店,一工作室的帅哥啊!(我绝对不是因为这个定的)。<br/>看过他们几个片子,觉得还不错,也当场说了一下自己的想法和需求,价格比那种婚庆里面包的当然..." & @CRLF & _ "" & @CRLF & _ " </p>" & @CRLF & _ " </figure>" & @CRLF & _ " </a>" & @CRLF & _ " </article>" & @CRLF & _ " <p class="bottom-border-height"></p>" & @CRLF & _ "</section>" & @CRLF & _ "" & @CRLF & _ "<section class="sign-details">" & @CRLF & _ " <p class="top-border-height"></p>" & @CRLF & _ " <a href="/shop/24928984/photos"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_memalbum_more',action:'click',shopid:'24928984'}]);lx_album();"" & @CRLF & _ " >" & @CRLF & _ " <span class="title-item">会员相册<i class="arrow-ent right"></i></span>" & @CRLF & _ " </a>" & @CRLF & _ " <p class="bottom-border-height"></p>" & @CRLF & _ "</section>" & @CRLF & _ "<section class="sign-details">" & @CRLF & _ " <p class="top-border-height"></p>" & @CRLF & _ " <a href="/shop/24928984/msgwall"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_viewcheckin',action:'click',shopid:'24928984'}]);"" & @CRLF & _ " >" & @CRLF & _ " <span class="title-item">网友签到(1)<i class="arrow-ent right"></i></span>" & @CRLF & _ " </a>" & @CRLF & _ " <p class="bottom-border-height"></p>" & @CRLF & _ "</section>" & @CRLF & _ "" & @CRLF & _ "<section class="shopinfor-details">" & @CRLF & _ " <p class="top-border-height"></p>" & @CRLF & _ " <article class="tit">" & @CRLF & _ " <a href="/wed/mobile/shopbrief/24928984"" & @CRLF & _ " onclick="_hip.push(['mv', {module:'mshopinfoq_shopprofile',action:'click',shopid:'24928984'}]);lx_shopinfo();">" & @CRLF & _ " <h3 class="border-bottom-gray">商户信息<i class="arrow-ent right"></i></h3>" & @CRLF & _ " </a>" & @CRLF & _ " <p class="bottom-border-height"></p>" & @CRLF & _ " </article>" & @CRLF & _ " <article class="sersice">" & @CRLF & _ " <p>营业时间:周一至周日" & @CRLF & _ "09:00-12:30" & @CRLF & _ "14:30-18:30</p>" & @CRLF & _ " </article>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " <p class="bottom-border-height"></p>" & @CRLF & _ "</section>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "<footer class="footer">" & @CRLF & _ " <a href="javascript:window.location='/my'" title="">我的</a><em>|</em>" & @CRLF & _ " <a href="javascript:window.location='/history'" title="">最近浏览</a><em>|</em>" & @CRLF & _ " <a href="javascript:window.location='/shop/addshop'">添加商户</a><em>|</em>" & @CRLF & _ " <a href="javascript:window.location='/feedback'" title="">意见反馈</a>" & @CRLF & _ " <br>" & @CRLF & _ " <a id="j-computer" href="https://www.dianping.com" title="">电脑版</a><em>|</em>" & @CRLF & _ " <a onclick="document.cookie='wapredirecttom=1; domain=.dianping.com; path=/';" href="https://wap.dianping.com" title="">标准版</a><em>|</em>" & @CRLF & _ " <a id="F_download" href="javascript:void(0)" title="">客户端</a>" & @CRLF & _ " <br>" & @CRLF & _ " <p class="copyright">copyright ©2015 dianping.com</p>" & @CRLF & _ "</footer>" & @CRLF & _ "" & @CRLF & _ "<!-- gdajag-->" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "<script>" & @CRLF & _ " _hip.push(['mv', {module:'mshopinfoq_nonpaid',action:'browse',shopid:'24928984',note:''}]);" & @CRLF & _ "</script>" & @CRLF & _ "" & @CRLF & _ "<script>" & @CRLF & _ " var DATA = {" & @CRLF & _ " cooperate: false," & @CRLF & _ " shopId: 24928984," & @CRLF & _ " shopName: 'VIA\u5A5A\u793C\u7535\u5F71'," & @CRLF & _ " shopType: 55," & @CRLF & _ " cityId: 16," & @CRLF & _ " userId: 0," & @CRLF & _ " slotId: 21004," & @CRLF & _ " successUrl:'/wed/mobile/booking/wedBookingSuccess/shopId=24928984'," & @CRLF & _ " shareUrl: 'https://m.dianping.com/shop/24928984'," & @CRLF & _ " sharePic: '//p0.meituan.net/wedding/7e24847608a706cb10bf2dd1da03273b1059646.jpg%40120w_120h_1e_1c_1l_85q%7Cwatermark%3D0'," & @CRLF & _ " shareDesc: 'VIA\u5A5A\u793C\u7535\u5F71'," & @CRLF & _ " shareTitle: '商户详情'," & @CRLF & _ " templateKey: 'ShopBottomForM'," & @CRLF & _ " resultType: 'DTO'," & @CRLF & _ " couponAttractUser:'0'," & @CRLF & _ " clientSource:'0'," & @CRLF & _ " bookingType:0," & @CRLF & _ " channel:0" & @CRLF & _ " };" & @CRLF & _ "</script>" & @CRLF & _ "" & @CRLF & _ "<div id="pop-top-main-share" class="pop-main-wrap hide"></div>" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "<!--TODO 领券时输入手机号的弹框s-->" & @CRLF & _ "<div class="overlay"></div>" & @CRLF & _ "<div class="pop-box pop-send-SMS J_pop-send-SMS">" & @CRLF & _ " <div class="pop-hd">请输入手机号码</div>" & @CRLF & _ " <div class="pop-bd">" & @CRLF & _ " <input type="number" class="input-num" value="" maxlength="11">" & @CRLF & _ " <p class="msg"></p>" & @CRLF & _ " </div>" & @CRLF & _ " <div class="pop-ft">" & @CRLF & _ " <button class="btn btn-cancel">取消</button>" & @CRLF & _ " <button class="btn btn-primary">确定</button>" & @CRLF & _ " </div>" & @CRLF & _ "</div>" & @CRLF & _ "<div class="tip-msg J_tip"></div>" & @CRLF & _ "<!--领券时输入手机号的弹框end-->" & @CRLF & _ "" & @CRLF & _ "<script type="text/javascript" src="//www.dpfile.com/m/js/app/dianping/zepto.min.2ace041cc63911887f0ea7a3a3b724a2.js"></script>" & @CRLF & _ "<script type="text/javascript" src="//www.dpfile.com/s/j/app/baby/common/midas.min.9a42c07defc75eaa44dbd4f6bc7502e0.js"></script>" & @CRLF & _ "<script type="text/javascript" src="//www.dpfile.com/s/j/app/baby/common/swipe2.min.74ed8a11dd59fe1381acc322c04039dc.js"></script>" & @CRLF & _ "<script type="text/javascript" src="//www.dpfile.com/s/j/app/baby/mobile/shop-wedding.min.5b1de8eb44fcefc09508664e434b043e.js"></script>" & @CRLF & _ "" & @CRLF & _ "<script type="text/javascript" src="//www.dpfile.com/s/j/app/baby/mobile/coupon_promo.min.2edce34e43eb550f49d3be369157afd4.js"></script>" & @CRLF & _ "" & @CRLF & _ "<script type="text/javascript">" & @CRLF & _ " window.addEventListener('load', function(){" & @CRLF & _ " setTimeout(function(){" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " var scripts = ["//www.dpfile.com/hls/hippo3.min.d30bc6de2d551d2b3f684d5486e0fedb.js"," & @CRLF & _ " "//www.dpfile.com/s/j/app/mwedding/plugins/share.min.a03af364a14e4ffd4d6e27cc547dd5ee.js"," & @CRLF & _ " "https://www.dpfile.com/mod/dpapp/1.7.0/src/standalone.js"];" & @CRLF & _ "" & @CRLF & _ "" & @CRLF & _ " scripts.forEach(function(src){" & @CRLF & _ " console.log(src);" & @CRLF & _ " var script = document.createElement('script');" & @CRLF & _ " script.src = src;" & @CRLF & _ " document.head.appendChild(script);" & @CRLF & _ " });" & @CRLF & _ "" & @CRLF & _ " }, 0);" & @CRLF & _ " });" & @CRLF & _ "</script>" & @CRLF & _ "<script src="//analytics.meituan.net/analytics.js" type="text/javascript" charset="utf-8" async defer></script>" & @CRLF & _ "</body>" & @CRLF & _ "</html>" & @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