Regular Expressions 101

Save & Share

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

/
/
gm

Test String

Code Generator

Generated Code

$re = '/\bsource_url\s=+(.*)";$/m'; $str = ' <!DOCTYPE html> <!--[if IE 8 ]><html class="ie ie8" lang="vi"> <![endif]--> <!--[if (gte IE 9)|!(IE)]><!--> <html itemscope itemtype="http://schema.org/NewsArticle" itemid="http://ia.xaluan.com/modules.php?name=News&file=article&sid=3216877" xmlns="http://www.w3.org/1999/xhtml" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.cx144.png"/> <meta name="msapplciation-starturl" content="http://ia.xaluan.com"> <meta name="msapplication-config" content="/mobile/images/wintiles/browserconfig.xml"/> <meta property="fb:app_id" content="1658659817638345" /> <meta itemprop="author" name="author" content="XALUAN Tin Nóng"> <meta property="og:site_name" content="XALUAN Tin Nóng" itemprop="sourceOrganization" name="source" /> <meta name="robots" content="noarchive,index,follow" /> <meta name="revisit-after" content="270 days" /> <meta name="keywords" content="Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa" /> <meta name="description" itemprop="description" property="og:description" content="Sáng 24.7, tỉnh Đắk Nông ghi nhận thêm 3 ca dương tính với Covid-19 tại TP.Gia Nghĩa, nâng tổng số ca mắc trên địa bàn tỉnh lên 30 ca." /> <meta name="pubdate" itemprop="datePublished" property="og:published_time" content="2021-07-23T21:07:07+00:00"/> <meta itemprop="genre" name="medium" content="News" /> <meta itemprop="identifier" name="articleid" content="3216877" /> <meta itemprop="alternativeHeadline" name="hdl_p" content="Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa. Sức Khỏe Cộng Đồng" /> <meta itemprop="mainEntityOfPage" content="http://ia.xaluan.com/modules.php?name=News&file=article&sid=3216877" /> <meta itemprop="image" content="https://static.xaluan.com/images/news/Image/2021/07/24/360fb83da0aa59.img.jpg"></meta> <meta itemprop="dateModified" content="2021-07-23T21:07:07+00:00" /> <meta property="og:locale" content="vi_VN" /> <meta property="og:type" content="article" /> <meta property="og:title" content="Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa"> <meta property="og:image" name="xlarge" content="https://static.xaluan.com/images/news/Image/2021/07/24/360fb83da0aa59.img.jpg" /> <meta property="og:url" itemprop="url" content="http://ia.xaluan.com/modules.php?name=News&file=article&sid=3216877" /> <meta property="article:publisher" content="https://www.facebook.com/102479877767483" /> <meta property="article:author" content="https://www.facebook.com/102479877767483" /> <meta property="article:section" content="Xã Hội"> <meta property="article:section2" content="Sức Khỏe Cộng Đồng"> <meta property="article:published_time" content="2021-07-23T21:07:07+00:00" /> <meta property="article:modified_time" content="2021-07-23T21:07:07+00:00" /> <link rel="shortlink" href="http://ia.xaluan.com/article/3216877/" /> <link rel="canonical" href="https://www.xaluan.com/modules.php?name=News&file=article&sid=3216877" /> <title>Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa</title> <script type="application/ld+json">{"@context": "https://schema.org", "@type": "NewsArticle", "mainEntityOfPage": {"@type": "WebPage", "@id": "http://ia.xaluan.com/modules.php?name=News&file=article&sid=3216877"}, "headline":"Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa", "url":"http://ia.xaluan.com/modules.php?name=News&file=article&sid=3216877", "image":{"@type":"ImageObject", "url":"https://static.xaluan.com/images/news/Image/2021/07/24/360fb83da0aa59.img.jpg"}, "dateCreated":"2021-07-23T21:07:07+00:00", "datePublished": "2021-07-23T21:07:07+00:00", "dateModified": "2021-07-23T21:07:07+00:00", "author": {"@type": "Person", "name": "Sky Nguyễn"}, "publisher": {"@type": "Organization", "name": "XALUAN Tin Nóng", "legalName" : "Xã Luận News", "url":"http://ia.xaluan.com", "foundingDate": "2006", "founders": [ { "@type": "Person", "name": "Ben NGUYEN" }], "logo": {"@type": "ImageObject", "url": "http://ia.xaluan.com/images/logo192x192.png"}}, "description": "Sáng 24.7, tỉnh Đắk Nông ghi nhận thêm 3 ca dương tính với Covid-19 tại TP.Gia Nghĩa, nâng tổng số ca mắc trên địa bàn tỉnh lên 30 ca. "} </script> <link rel="dns-prefetch" href="https://www.google-analytics.com" crossorigin="anonymous"> <link rel="dns-prefetch" href="https://static.xaluan.com" crossorigin="anonymous"> <link rel="preload" as="font" type="font/ttf" href="/xlnews/css/fonts/fontawesome/fonts/Font-Awesome.ttf" crossorigin> <link rel="preload" as="font" type="font/woff2" href="/xlnews/css/fonts/RobotoSlab/roboto-slab-500.woff2" crossorigin> <link rel="preload" as="font" type="font/woff2" href="/xlnews/css/fonts/RobotoSlab/roboto-slab-600.woff2" crossorigin> <link rel="stylesheet" type="text/css" href="/xlnews/css/styles.bs.ws.min.css"> <script>var xlArticle = {sid:3216877, topicid:61, catid:2, aid:"Sky", time:"2021-07-24 10:07:07", counter:103, type:0, media:1, censor:0, noads:false}; var sourcewlist = ""; var source_url = "aHR0cHM6Ly90aGFuaG5pZW4udm4vdGhvaS1zdS9kYWstbm9uZy1waGF0LWhpZW4tMy1jYS1kdW9uZy10aW5oLWNvdmlkLTE5LW1vaS1vLXRwZ2lhLW5naGlhLTE0MTk1NjYuaHRtbA=="; </script> <script>var noadspage=false;</script> <script src="/xlnews/js/jquery.bootstrap.main.js" id="jquerybootstrap"></script> <script>var adsenseG=true;</script> <script>var xlGad = {client:"ca-pub-3073985723087695", header:1347043674, header_fomat:"fluid", adright:1652658834, underimg:9452580567, endart:8030968162, footart:8468070563, in_Marticle:2219218247, articleMatch:3835963493, articleMatchBlack:4653919822, adright_fixed:5204891039, nativefeedtopic:1246893832, nativefeedcat:false, endpage:8691584790};</script> </head> <body class="bg-white"> <header class="xl-header-fixed col-sm-12 col-lg-2 float-left fixed-top"> <!-- Start: Xl header logo --> <div class="xl-header-logo-row desktop-logo"> <div class="header-logo font-logo"> <a href="/"> <h1 class="text-logo font-weight-bold text-center m-0">Xã Luận</h1> <p class="slogan text-center font-weight-bold text-dark mb-0">xã hội luận bàn</p> </a> </div> </div><!-- End: Xl header logo --> <!-- Start: Header mobile --> <div id="menu-header-mobi" class="xl-header-mobile"> </div><script>menuHeaderMobi();</script><!-- End: Header mobile --> <!-- Start: Header main menu --> <div class="sidebar-main-menu h-100"> <!-- Start: Category nav --> <nav id="menu-main-side" class="category-nav primary-nav overflow-auto h-100 pb-4"> </nav><script>menuMainSide();</script><!-- End: Category nav --> </div><!-- End: Header main menu --> </header> <!-- Start: Xl Site header --> <div class="xl-site-header col-sm-12 col-lg-10 float-lg-right mb-3 clearfix border-brown notranslate" translate="no"> <!-- Start: Site ads header --> <div class="section-ads row py-2 mt-5 mt-lg-0"> <section class="text-center w-100 clearfix" id="adheader"> </section> </div><!-- End: Site ads header --> <!-- Start: Xl header content --> <div class="xl-header-content d-flex py-2"> <!-- Start: Top new host --> <div class="top-new-host flex-grow-1 d-lg-flex"> <div class="menu-horizontal d-flex justify-content-center text-uppercase font-weight-bold"> <a href="/pages.php?p=game" class="link-term float-left mr-3" data-tooltip="on" title="Chơi game rèn trí não!"><button aria-label="IQ Games" class="btn btn-light btn-circle rounded-circle mr-1"><i class="fas fa-user-graduate text-danger"></i></button> Luyện IQ</a> <a href="/pages.php?p=vid" class="link-term float-left mr-3" data-tooltip="on" title="Những videos clip hay nhất hôm nay"><button aria-label="Popular Videos" class="btn btn-light btn-circle rounded-circle mr-1"><i class="fas fa-video text-info"></i></button> Videos</a> <a href="#xl-modaldate" class="link-term float-left mr-3" id="xl-modaldate" data-toggle="modal" data-target="#modalTemplate" data-tooltip="on" title="Lịch Âm, Tìm ngày đẹp, Ngày lễ, Giờ đẹp"><button aria-label="Lunar Calendar" class="btn btn-light btn-circle rounded-circle mr-1"><i class="fas fa-calendar-alt text-success"></i></button> Ngày Đẹp</a> </div> </div><!-- End: Top new host --> <!-- Start: Xl header right --> <div class="xl-header-right d-none d-lg-flex"> <div class="xl-today float-left d-none d-xl-block"> <i class="fas fa-alarm"></i><div id="XlClock" class="XlClock">09:09:09 AM, Thứ Abc 09/09/2021</div> </div> <div class="xl-search-form float-right of-hidden" itemscope itemtype="http://schema.org/WebSite"> <meta itemprop="url" content="http://ia.xaluan.com"/> <form itemprop="potentialAction" itemscope itemtype="http://schema.org/SearchAction" action="/search.php" target="_blank" style="height: 100%;"> <meta itemprop="target" content="http://ia.xaluan.com/search.php?q={q}"/> <input type="hidden" value="010476972283472804637:tnoe_pa9f4e" name="cx"> <input type="hidden" value="UTF-8" name="ie"> <input type="hidden" value="FORID:10" name="cof"> <input itemprop="query-input" type="text" placeholder="Google Tìm Kiếm.." name="q" required> <button class="bt-search" type="submit" name="sa"><i class="fas fa-search"></i></button> </form> </div> </div><!-- End: Xlheader right --> </div><!-- End: Xl header content --> <!-- Start: weather new --> <div id="menu-header-weather" class="xl-weather-new float-left mt-1 border-brown"> </div><script>menuHeaderWeather();</script><!-- End: weather new --> </div><!-- End: Xl Site header --> <section id="alertmessage" class="alertmessage col-sm-12 col-lg-10 float-lg-right clearfix"></section> <!-- Start: Xl main wrapper --> <div class="xl-main-wrapper col-sm-12 col-lg-10 float-right"> <!-- Start: Xl main content --> <div class="main-content row" id="mainContent"> <!-- Start: xl big module main --> <div class="xl-block-main col-12 col-lg xl-lg-w70 clearfix"> <!-- Start: Post entry title --> <h1 class="entry-title mb-3 clearfix" itemprop="headline">Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa</h1><!-- End: Post entry title --> <!--Start: Breadcrumb --> <nav aria-label="breadcrumb" class="clearfix pb-2 row align-items-end"> <ol class="breadcrumb bg-none py-0 my-0 pr-0 col-10 col-md-6"> <li class="breadcrumb-item"><a href="/modules.php?name=News&file=category&catid=2" class="text-uppercase font-weight-bold">Xã Hội</a></li> <li class="breadcrumb-item" aria-current="page"><small><a href="/modules.php?name=News&file=topic&topicid=61" class="text-uppercase font-weight-bold">Sức Khỏe Cộng Đồng</a></small></li> </ol> <div id="google_translate_toggle" class="py-0 my-0 pl-0 col-2 col-md-6 text-right font-weight-bold text-secondary" style="cursor: pointer;"><span class="xl-xs-dnone">VN </span><i class="fas fa-headphones"> </i><span> EN </span></div> </nav><!--End: Breadcrumb --> <!-- Start: Details meta --> <div class="details-meta py-2 border-top border-bottom w-100 mb-3 clearfix"> <!-- Start: Meta left --> <div class="meta-left float-left"> <span class="xl-xs-dnone"> <i class="fas fa-user-graduate mx-1"></i><a href="#author/Sky">Sky Nguyen</a> </span> <i class="fas fa-pen-alt mx-1"></i> <time datetime="2021-07-23T21:07:07+00:00" class="mr-2">24/07/21 10:07am </time> <!--googleoff: index--> <span class="source xl-xs-dnone"><span style="" class="sourcewlist pr-2 text-lowercase"><i class="fas fa-link"></i> nguồn</span></span> <a href="javascript:$(\'html,body\').animate({scrollTop: $(\'#xlcomments_gr\').offset().top},\'medium\');" class="comment xl-xs-dnone"> <i class="fas fa-facebook-official text-primary"></i> <!-- <span class="fb-comments-count soccial_act" data-href="http://ia.xaluan.com/modules.php?name=News&file=article&sid=3216877">..</span>--> bình luận </a><!--googleon: index--> <i class="fas fa-book-reader ml-1 text-brown"></i> <span id="onlinecounter" class="btn badge badge-pill badge-warning">999</span> </div><!-- End: Meta left --> <!-- End: Post font size --> <div class="post-font-size float-right"> <span class="jfontsize-button font-weight-bold" id="jfontsize-minus" style="cursor: pointer;">A-</span> <span class="jfontsize-button font-weight-bold" id="jfontsize-default" style="cursor: pointer;">A </span> <span class="jfontsize-button font-weight-bold" id="jfontsize-plus" style="cursor: pointer;">A+</span> </div><!-- End: Post font size--> </div><!-- End: Details meta --> <!-- Start: xl rw --> <div class="xl-rw-post jfontsizect clearfix" itemprop="articleBody"> <!-- Start: Home-text --> <div class="xl-home-text text-justify mb-4 one-letter-brown" id="home-text"> Sáng 24.7, tỉnh Đắk Nông ghi nhận thêm 3 ca dương tính với Covid-19 tại TP.Gia Nghĩa, nâng tổng số ca mắc trên địa bàn tỉnh lên 30 ca. </div><!-- End: Home-text --> <!-- Start: Home-image --> <figure class="figure d-block text-center" id="home-image"> <img src="https://static.xaluan.com/images/news/Image/2021/07/24/360fb83da0aa59.img.jpg" class="figure-img img-fluid mb-2" alt="Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa" width="600" height="449"> <figcaption class="figure-caption text-dark"><i class="fas fa-camera"></i> Lực lượng chức năng tỉnh Đắk Nông truy vết lấy mẫu xét nghiệm cho người dân tối 23.7 ẢNH: THANH QUÂN</figcaption> </figure><!-- End: Home-image --> <section class="section-ads row clearfix mb-3" id="adarticle_underimg"> <div class="text-center mx-auto w-100"> <div id="sl_underimg" class="mx-auto mb-3 ads-mw" style=""></div> <script> <!-- Responsive under img underimg --> if(xlGad["underimg"]){ document.getElementById("sl_underimg").innerHTML = \'<ins class="adsbygoogle" style="display:block" data-ad-format="auto" data-ad-client="\' + xlGad["client"] + \'" data-ad-slot="\' + xlGad["underimg"] + \'"></ins>\'; (adsbygoogle = window.adsbygoogle || []).push({ }); } </script> <div class="clearfix"><div id="sl_moxtv_IMG" style="margin: 0px auto;" class="section-ads w-100 mx-auto"><div data-id="_mwayss-1cff12209fd6ace84d0bc37b8f01ad33"></div></div></div> </div> </section> <!-- Start: Related-chainA --> <div class="details-morenews py-2 mb-2 bg-light clearfix a-blue"> <h6 class="title text-uppercase px-3"><i class="fas fa-quote-left mr-1 text-brown"></i>Tin liên quan<i class="fas fa-angle-double-down float-right morenews-toggle"></i></h6> <ol class="xl-list-scrollbar-white mx-3" reversed> <li class="xl-bor-dark" value="8"><a href="/modules.php?name=News&file=article&sid=3219446">4 cán bộ Y tế ở Đắk Nông mắc COVID-19</a></li><li class="xl-bor-dark"><a href="/modules.php?name=News&file=article&sid=3218724">Đắk Nông áp dụng biện pháp mạnh để ngăn chặn dịch bệnh COVID-19</a></li><li class="xl-bor-dark"><a href="/modules.php?name=News&file=article&sid=3217408">Đắk Nông: Phát phiếu đi chợ cho từng hộ gia đình, 2 ngày được đi một lần</a></li> </ol> </div><!-- End: Related-chainA --> <!-- Start: Body-text --> <div class="xl-body-text" id="body-text"> <p>Trong số 3 ca vừa ghi nhận, 2 trường hợp là cha và con (cha 46 tuổi, con trai 8 tuổi), trú tại tại tổ 2, P.Nghĩa Tân, TP.Gia Nghĩa (Đắk Nông). Ngày 23.7, 2 trường hợp này được lấy mẫu xét nghiệm test nhanh kháng nguyên cho kết quả dương tính với Covid-19. Ngay sau đó, cả 2 tiếp tục được lấy mẫu lần 2 xét nghiệm khẳng định bằng kỹ thuật Realtime RT-PCR và cho kết quả dương tính với Covid-19 lúc 4 giờ 10 phút ngày 24.7.</p> <p align="center"><strong>Xem Video: Sáng 24/7: Cả nước thêm 5.279 ca Covid-19, riêng TP.HCM có 2.070 ca</strong></p> <p align="center"> <!--XLVidPlayer_start--><div align="center" style="" class="xlvideoplayer w-100"> <div style="width:100%;max-width:720px; max-height:480px;" itemprop="video" itemscope itemtype="http://schema.org/VideoObject"> <div class="othernews-title" align="left"><i class="mr-2 fas fa-video"></i><b>XEM VIDEO CLIP: </b><span class="seryt fr float-right" ytdata="ejLlI3NbUTY">ejLlI3NbUTY</span></div> <div id="memeplayerWzBSKLNduu" style="background:#333;min-height:300px;" class="videcontainer"> <div class="spinner-border text-primary m-3" role="status"> <span class="sr-only">Loading...</span> </div> </div> <meta itemprop="description" content="Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa"> <meta itemprop="name" content="Đắk Nông: Phát hiện 3 ca dương tính Covid-19 mới ở TP.Gia Nghĩa"> <meta itemprop="thumbnailUrl" content="//img.hostyour.video/vi/WzBSKLNduu/small/1.jpg"> <meta itemprop="uploadDate" content="2021-07-23T21:07:07+00:00"> <link itemprop="embedUrl" href="http://ia.xaluan.com/embed/WzBSKLNduu" /> </div> </div> <!--XLVidPlayer_endnow--> <div id="sl_moxtv_VID" style="margin: 0px auto;" class="section-ads w-100 mx-auto clearfix mt-3"><div data-id="_mwayss-1cff12209fd6ace84d0bc37b8f01ad33"></div></div> </p> <p>Trường hợp dương tính với Covid-19 thứ 3 là một cháu trai 5 tuổi, trú tại tổ 3, P.Nghĩa Tân, TP.Gia Nghĩa (Đắk Nông). Ngày 23.7, trường hợp này được lấy mẫu xét nghiệm test nhanh kháng nguyên cho kết quả dương tính với Covid-19. Ngay sau đó, cháu trai tiếp tục được lấy mẫu lần 2 xét nghiệm khẳng định bằng kỹ thuật Realtime RT-PCR và cho kết quả dương tính với Covid-19 lúc 4 giờ 10 phút ngày 24.7.</p> <p><img alt="" loading="lazy" src="https://static.xaluan.com/images/news/Image/2021/07/24/c2t61_truyvetngay2372_uame.jpg" width="600" height="450"></p><section class="section-ads row clearfix mb-3" id="adinarticle"> <div id="sl_inarticle" class="mx-auto w-100 ads-mw" style=""></div> <script><!-- Native in article --> if(xlGad["in_Marticle"]){ document.getElementById("sl_inarticle").innerHTML = \'<ins class="adsbygoogle" style="display:block; text-align:center;" data-ad-format="auto" data-ad-layout="in-article" data-ad-client="\' + xlGad["client"] + \'" data-ad-slot="\' + xlGad["in_Marticle"] + \'"></ins>\'; (adsbygoogle = window.adsbygoogle || []).push({ }); } </script> </section> <p>Lực lượng chức năng đến nhà lấy mẫu xét nghiệm cho người dân vào tối 23.7.</p> <p>Ngay sau khi có kết quả dương tính với Covid-19, lực lượng chức năng đã đưa những trường hợp này đến khu cách ly điều trị Covid-19 của tỉnh. Quá trình điều tra truy vết, bước đầu xác định được 8 trường hợp có tiếp xúc gần (F1) với các ca dương tính nói trên.</p> <p>Tính đến 4 giờ 10 phút ngày 24.7, tỉnh Đắk Nông ghi nhận 30 trường hợp dương tính Covid-19. Trong đó, 10 trường hợp dướng tính Covid-19 ghi nhận tại P.Nghĩa Tân, TP.Gia Nghĩa.</p> </div><!-- End: Body-text --> <!-- Start: Article Source --> <div class="article-source flex-s-s mb-2"> <span class="f1-s-12 mr-2"><a class="text-dark" href="//www.xaluan.com/modules.php?name=News&file=article&sid=3216877">Nguồn Tin:</a></span> <!--googleoff: index--><span style="" class="sourcewlist text-lowercase"></span> <div id="xllike2" class="fb-like float-right" data-href="" data-width="120" data-layout="button_count" data-action="like" data-size="large" data-share="false"></div><!--googleon: index--> </div><!-- End: Article Source --> </div> <!-- Start: Related-chainB --> <div class="details-morenews py-2 mb-2 bg-light clearfix a-blue"> <h6 class="title text-uppercase px-3">Tin liên quan: <i class="fas fa-quote-right ml-1 text-brown"></i><i class="text-light"> id: 12022</i><i class="fas fa-angle-double-down float-right morenews-toggle"></i></h6> <ol class="xl-list-scrollbar-white mx-3" reversed> <li class="xl-bor-dark"><a href="/modules.php?name=News&file=article&sid=3216355">Đắk Nông: Người dân đổ xô mua sắm trước giờ TP.Gia Nghĩa giãn cách xã hội</a></li><li class="xl-bor-dark"><a href="/modules.php?name=News&file=article&sid=3216321">Chợ Gia Nghĩa hoạt động bình thường, không nằm trong khu vực phong tỏa</a></li><li class="xl-bor-dark"><a href="/modules.php?name=News&file=article&sid=3216181">Từ trưa nay, phong tỏa toàn bộ thành phố Gia Nghĩa theo Chỉ thị 16</a></li><li class="xl-bor-dark"><a href="/modules.php?name=News&file=article&sid=3216140">Thêm 6 ca dương tính, Đắk Nông phong tỏa toàn bộ thành phố Gia Nghĩa</a></li> </ol> </div><!-- End: Related-chainB --> <!-- Start: Like share bottom --> <div class="details-meta clearfix w-100 mb-4" id="nav-like-share"> <!--A2HS-button--> <!--NAV-button-group--> </div><!-- End: Like share bottom --> <section class="section-ads row clearfix mb-3"id="adarticle_end"> <div class="text-center mx-auto w-100"> <div id="sl_endart" class="mx-auto w-100 ads-mw" style="display:block;"></div> <script> <!-- Reponsive mobile horizontal midle article endart --> if(xlGad["endart"]){ document.getElementById("sl_endart").innerHTML = \'<ins class="adsbygoogle" style="display:block;" data-ad-format="auto" data-ad-client="\' + xlGad["client"] + \'" data-ad-slot="\' + xlGad["endart"] + \'"></ins>\'; (adsbygoogle = window.adsbygoogle || []).push({ }); } </script> </div> </section> <!-- Start: Posts same topic --> <div class="xl-related-news-post w-100 mb-2 clearfix hover-text-brown"> <div class="header-title position-relative mb-3 text-uppercase text-center text-md-left"> <a class="position-relative bg-white px-1 pl-md-0 pr-md-3 text-brown" href="/modules.php?name=News&file=topic&topicid=61">MỚI: Sức Khỏe Cộng Đồng</a> </div> <div class="row" id="pass-articles-list"> <!-- Start: post item--> <article class="post-item col-sm-6 mb-2 xl-has-img xl-has-video"> <a href="/modules.php?name=News&file=article&sid=3216874" class="d-block h-100"> <figure class="w-img100 float-right ml-3 mr-0 float-sm-left ml-sm-0 mr-sm-3 mb-1 ripple"> <span class="post-thumbnail d-block overflow-hidden position-relative"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_360fb837796b81.img.jpg" src="xlnews/images/1x1.png"> </span> </figure> <div class="meta-top text-primary"> <div class="font-weight-bold float-left position-relative d-table mr-2">Chuỗi Sự Kiện</div> <span class="fas fa-quote-right"></span> </div> <h5 class="post-title mb-2 xl-text-cut3"> Quảng Trị: Người từ các tỉnh, thành có dịch về, phải có xét nghiệm Covid-19 âm tính </h5> </a> </article><!-- End: post item--><!-- Start: post item--> <article class="post-item col-sm-6 mb-2 xl-has-img"> <a href="/modules.php?name=News&file=article&sid=3216866" class="d-block h-100"> <figure class="w-img100 float-right ml-3 mr-0 float-sm-left ml-sm-0 mr-sm-3 mb-1 ripple"> <span class="post-thumbnail d-block overflow-hidden position-relative"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_560fb828633562.img.jpg" src="xlnews/images/1x1.png"> </span> </figure> <h5 class="post-title mb-2 xl-text-cut3"> BVĐK tỉnh Hà Tĩnh triển khai kỹ thuật gạn tách tiểu cầu bằng máy tự động </h5> </a> </article><!-- End: post item--><!-- Start: post item--> <article class="post-item col-sm-6 mb-2 xl-has-img xl-has-video"> <a href="/modules.php?name=News&file=article&sid=3216862" class="d-block h-100"> <figure class="w-img100 float-right ml-3 mr-0 float-sm-left ml-sm-0 mr-sm-3 mb-1 ripple"> <span class="post-thumbnail d-block overflow-hidden position-relative"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_560fb8199df759.img.jpg" src="xlnews/images/1x1.png"> </span> </figure> <div class="meta-top text-primary"> <div class="font-weight-bold float-left position-relative d-table mr-2">Chuỗi Sự Kiện</div> <span class="fas fa-quote-right"></span> </div> <h5 class="post-title mb-2 xl-text-cut3"> Phú Yên thêm 15 ca dương tính nCoV, một thôn có 4 ca nhiễm cộng đồng </h5> </a> </article><!-- End: post item--><!-- Start: post item--> <article class="post-item col-sm-6 mb-2 xl-has-img xl-has-video"> <a href="/modules.php?name=News&file=article&sid=3216827" class="d-block h-100"> <figure class="w-img100 float-right ml-3 mr-0 float-sm-left ml-sm-0 mr-sm-3 mb-1 ripple"> <span class="post-thumbnail d-block overflow-hidden position-relative"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_760fb7d12e9c93.img.jpg" src="xlnews/images/1x1.png"> </span> </figure> <h5 class="post-title mb-2 xl-text-cut3"> Bãi rác tự phát khổng lồ “tra tấn” người đi đường ở Hà Nội </h5> </a> </article><!-- End: post item--><!-- Start: post item--> <article class="post-item col-sm-6 mb-2 xl-has-img"> <a href="/modules.php?name=News&file=article&sid=3216825" class="d-block h-100"> <figure class="w-img100 float-right ml-3 mr-0 float-sm-left ml-sm-0 mr-sm-3 mb-1 ripple"> <span class="post-thumbnail d-block overflow-hidden position-relative"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_360fb7cc5b6071.img.jpg" src="xlnews/images/1x1.png"> </span> </figure> <div class="meta-top"> <span class="px-2 bg-danger text-white float-left position-relative d-table mr-2"> <i class="fas fa-bg-pulse fa-pulse mr-1"></i>Hot </span> <i class="fas fa-fire mr-1 text-danger"></i> </div> <h5 class="post-title mb-2 xl-text-cut3"> Bên trong nơi điều trị cho người mắc Covid-19 tại Đà Nẵng </h5> </a> </article><!-- End: post item--><!-- Start: post item--> <article class="post-item col-sm-6 mb-2 xl-has-img"> <a href="/modules.php?name=News&file=article&sid=3216816" class="d-block h-100" id="navnextpostUrl"> <figure class="w-img100 float-right ml-3 mr-0 float-sm-left ml-sm-0 mr-sm-3 mb-1 ripple"> <span class="post-thumbnail d-block overflow-hidden position-relative"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_760fb7ab30a3ac.img.jpg" src="xlnews/images/1x1.png"> </span> </figure> <div class="meta-top text-primary"> <div class="font-weight-bold float-left position-relative d-table mr-2">Chuỗi Sự Kiện</div> <span class="fas fa-quote-right"></span> </div> <h5 class="post-title mb-2 xl-text-cut3"> Tình nguyện viên ở TP.HCM được người dân tặng rau khi đi chống dịch </h5> </a> </article><!-- End: post item--> </div> </div><!-- End: Posts same topic --> <!-- Start: Leave a comment --> <div id="xlcomments_gr" class="leave-comment w-100 mb-3 clearfix"> <div class="pb-3"> <button type="button" aria-label="Send Smg" class="btn btn-primary btn-sm float-right ml-1" style="font-size: 75%;font-weight: bold;" onclick="sendMessenger(window.location.href);"><i class="fas fa-comment text-white"></i> Gửi Msg</button> <div id="xllike" class="fb-like float-right" data-href="" data-width="160" data-layout="button_count" data-action="like" data-size="large" data-share="true"></div> </div> <div id="xlcomments" class="fb-comments w-100" data-href="https://xaluan.com/modules.php?name=News&file=article&sid=3216877" data-width="100%" data-numposts="5"></div> </div><!-- End: Leave a comment --> <section class="section-ads row clearfix mb-3" id="adarticle_footer"> <div class="text-center mx-auto w-100"> <div id="sl_footart" class="mx-auto w-100 ads-mw" style=""></div> <script> <!-- Resonsive mobile bottom footart --> if(xlGad["footart"]){ document.getElementById("sl_footart").innerHTML = \'<ins class="adsbygoogle" style="display:block;" data-ad-format="auto" data-ad-client="\' + xlGad["client"] + \'" data-ad-slot="\' + xlGad["footart"] + \'"></ins>\'; (adsbygoogle = window.adsbygoogle || []).push({ }); } </script> </div> </section> <!-- Start: Posts same category --> <div class="posts-same-category clearfix w-100 mb-3 hover-text-brown"> <div class="header-title position-relative mb-3 mt-4 text-uppercase text-center text-md-left"> <a class="position-relative bg-white px-1 pl-md-0 pr-md-3 text-brown" href="/modules.php?name=News&file=category&catid=2"> HOT: Xã Hội : 24/07/2021</a> </div> <!-- Start: category post --> <div class="category-post mb-3 row"> <!-- Start: first category post --> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3216864" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_460fb8236413fd.img.jpg"> </figure> <h5 class="post-title"><span class="position-relative text-danger"><i class="fas fa-bg-pulse fa-bell mt-n1 ml-1"></i></span> Những giám đốc đi bốc vác<i class="fas fa-paperclip text-warning small ml-1"></i> </h5> </a> </article><!-- End: post item--> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3217322" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_560fc079fca247.img.jpg"> </figure> <h5 class="post-title"> Ga Sài Gòn bắt đầu chạy tàu đưa người dân rời TP.HCM về quê </h5> </a> </article><!-- End: post item--> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3217271" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_460fbe96e1c850.img.jpg"> </figure> <h5 class="post-title"> 2 bạn trẻ làm thuê đi bộ từ Thủ Đức về Huế, đến Đồng Nai bị chặn lại và... tặng vé tàu </h5> </a> </article><!-- End: post item--> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3217246" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_960fbde473ee1f.img.jpg"> </figure> <h5 class="post-title"> Cảnh sát dẫn đường cho ngàn người qua Bình Phước về Tây Nguyên tránh dịch<i class="fas fa-paperclip text-warning small ml-1"></i> </h5> </a> </article><!-- End: post item--> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3217249" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_960fbdf7bb9ab1.img.jpg"> </figure> <h5 class="post-title"> Bày tiệc nhậu ngoài ruộng, nhóm thanh niên “chờ” nộp phạt 90 triệu đồng </h5> </a> </article><!-- End: post item--> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3217101" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_160fbbd36858fd.img.jpg"> </figure> <h5 class="post-title"> Xe hai bánh không được ra vào TP.HCM </h5> </a> </article><!-- End: post item--> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3217210" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_360fbd29e99ba7.img.jpg"> </figure> <h5 class="post-title"> Hà Nội giãn cách xã hội, cao tốc Pháp Vân - Cầu Giẽ 80% xe phải quay đầu, nhiều tài xế bất ngờ, to tiếng với CSGT </h5> </a> </article><!-- End: post item--> <!-- Start: post item--> <article class="post-item col-6 col-sm-3 mb-3"> <a href="/modules.php?name=News&file=article&sid=3217267" class="d-table h-100"> <figure class="post-thumbnail overflow-hidden position-relative mb-3 ripple"> <img loading="lazy" class="lazyload" data-src="https://static.xaluan.com/images/news/Image/2021/07/24/small_760fbe71b31220.img.png"> </figure> <h5 class="post-title"><span class="position-relative text-danger"><i class="fas fa-bg-pulse fa-bell mt-n1 ml-1"></i></span> Án mạng đau thương từ cái liếc mắt trong siêu thị<i class="fas fa-paperclip text-warning small ml-1"></i> </h5> </a> </article><!-- End: post item--> </div><!-- End: category post --> </div><!-- End: Posts same category --> </div><!-- End: xl big module main --> <!-- Start: Module sidebar --> <div class="xl-module-sidebar col-12 col-lg-auto xl-lg-w30 h-auto"> <!-- Start: xl ads fixed --> <section class="section-ads mb-2" id="adright_fixed"> <div class="text-center mx-auto ads-aside-300 clearfix"> <div id="sl_adright_fixed" class="text-center mx-auto ads-m-dnone bg-light " style="display:block; width:300px; height:600px;"></div> <script> if(xlGad["adright_fixed"] && !isMobile){ document.getElementById("sl_adright_fixed").innerHTML = \'<ins class="ads-m-dnone mx-auto adsbygoogle" style="display:inline-block;width:300px;height:600px" data-ad-client="\' + xlGad["client"] + \'" data-ad-slot="\' + xlGad["adright_fixed"] + \'"></ins>\'; (adsbygoogle = window.adsbygoogle || []).push({ }); } </script> </div> </section><!-- End: xl ads fixed --> <!-- Start: xl ads sticky --> <div class="xl-sidebar-fixed mb-3"> <div class="header-title position-relative text-uppercase mb-2 text-brown"> <span class="position-relative font-weight-bold bg-white pr-3">Video và Bài nổi bật</span> </div> <section class="section-ads" id="adright_sticky"> <div class="text-center clearfix ads-aside-300"> <!--VIDS POPULAR--> <div id="vidpopular" class="bg-light" style="height:300px;"> <div id="random2dayvideo" class="text-center h-100" style=""> <div class="spinner-border text-white my-5" role="status"> <span class="sr-only">Loading...</span> </div><center>Loading video hay nhất..</center> </div> </div><!--/VIDS POPULAR--> <div id="sl_match_sm" class="my-2" style="display:block; height:300px;"></div> <script> if(xlGad["articleMatch"]){ document.getElementById("sl_match_sm").innerHTML = \'<ins class="adsbygoogle" style="display:block;" data-ad-client="\' + xlGad["client"] + \'" data-ad-slot="\' + xlGad["articleMatch"] + \'" data-ad-format="autorelaxed" data-matched-content-rows-num="3" data-matched-content-columns-num="1" data-matched-content-ui-type="image_sidebyside"></ins>\'; (adsbygoogle = window.adsbygoogle || []).push({ }); } </script> </div> </section> </div><!-- End: xl ads sticky --> </div><!-- End: Module sidebar --> </div><!-- End: Xl main content --> </div><!-- End: Xl main wrapper --> <!-- Start: Ads end page --> <div class="col-sm-12 col-lg-10 float-right"> <section class="section-ads row py-2 text-center" id="adendpage"> <div class="col"> <div id="sl_match_endpage" class="mx-auto w-100"></div> <script> if(xlGad["articleMatchBlack"]){ document.getElementById("sl_match_endpage").innerHTML = \'<ins class="adsbygoogle" style="display:block;" data-ad-client="\' + xlGad["client"] + \'" data-ad-slot="\' + xlGad["articleMatchBlack"] + \'" data-ad-format="autorelaxed" data-matched-content-rows-num="4,2" data-matched-content-columns-num="2,4" data-matched-content-ui-type="image_stacked,image_stacked"></ins>\'; (adsbygoogle = window.adsbygoogle || []).push({ }); } </script> </div> </section> </div><!-- End: Ads end page --> <!-- Start: Footer --> <footer id="footer" class="col-sm-12 col-lg-10 mb-5 float-right"> </footer><script>menuFooter();</script><!-- End: Footer --> <!-- Start: Button show menu --> <div class="btn-menu-bottom" id="menu-main"> <span class="fas fa-bars btn-menu-symbol"></span> </div><!-- End: Button show menu --> <!--Start: Social share --> <div class="btn-social-share bg-primary" id="menu-share"> <span class="fas fa-podcast btn-menu-symbol"></span> </div><!--End: Social share --> <!--Start: Back to last page --> <div class="btn-back-to-last d-none" id="menu-goback"> <span class="fas fa-arrow-circle-left btn-menu-symbol" id="menu-goback-icon"></span> </div><!--End: Back last page --> <!--Start: Back to top --> <div class="btn-back-to-top" id="menu-gotop"> <span class="fas fa-arrow-circle-down btn-menu-symbol" id="menu-gotop-icon"></span> </div><!--End: Back to top --> <!--Start: foot script--> <section id="scriptholder"> <script type="text/javascript" src="/js/xlanalytics.js" async></script> <script type="text/javascript" src="/js/vidloaderplugin.js" async></script> <script src="/xlnews/js/footer.ad15.js" type="text/javascript" async defer></script> </section><!--End: foot script--> </body> </html> <!-- page created in 0.57 giây--><!--cached at:16 08 2021 13:15:28 about 5184000 seconds, as 1440 hours for: /modules.php?name=News&file=article&sid=3216877--><!-- Now qc full: 0 ; max load: 10 ; curentload: 3.31 -->'; preg_match_all($re, $str, $matches, PREG_SET_ORDER, 0); // Print the entire match result var_dump($matches);

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