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

/
/
gm

Test String

Code Generator

Generated Code

// include the latest version of the regex crate in your Cargo.toml extern crate regex; use regex::Regex; fn main() { let regex = Regex::new(r"(?m)\<sp.+\>\s+(\d+.\d).+.+\s+.+\s+<.+>(\d+).+\s+\<.+\>(\d+.\d).+\s+\<.+\>(\d+).+\s+\<.+\>(\d+).+").unwrap(); let string = " <!DOCTYPE html> <html lang=\"bg\" xmlns=\"http://www.w3.org/1999/xhtml\" xmlns:og=\"http://ogp.me/ns#\" xmlns:fb=\"http://www.facebook.com/2008/fbml\"> <head> <!-- test 111 --> <meta charset=\"UTF-8\"/> <link rel=\"dns-prefetch\" href=\"//m.netinfo.bg\"/> <link rel=\"dns-prefetch\" href=\"//a.abv.bg\"/> <link rel=\"dns-prefetch\" href=\"//diff3.smartadserver.com\"/> <link rel=\"stylesheet\" href=\"https://m3.netinfo.bg/sinoptik/css/main-4.7.min.css?v=2.1\"/> <link rel=\"stylesheet\" href=\"https://m3.netinfo.bg/sinoptik/css/jquery-ui.css\"/> <!--[if IE]> <link href=\"https://m3.netinfo.bg/sinoptik/css/ie_only_style-0.1.css\" rel=\"stylesheet\" type=\"text/css\"><![endif]--> <!--[if IE 9]> <link href=\"https://m3.netinfo.bg/sinoptik/css/ie9_only_style.css\" rel=\"stylesheet\" type=\"text/css\" media=\"all\"/><![endif]--> <link rel=\"shortcut icon\" type=\"image/x-icon\" href=\"https://m.netinfo.bg/sinoptik/images/favicon.ico?v=1\"/> <script type=\"text/javascript\" src=\"https://m5.netinfo.bg/jquery/niquery.js\"></script> <script type=\"text/javascript\" src=\"https://m4.netinfo.bg/sinoptik/js/jquery-ui.js\"></script> <script type=\"text/javascript\" src=\"https://m4.netinfo.bg/sinoptik/js/plugins.min.js\"></script> <script type=\"text/javascript\" src=\"https://m4.netinfo.bg/sinoptik/js/interface-0.3.js?v=1.3\"></script> <script src=\"https://m.netinfo.bg/assets/richMedia.js?v=2\" crossorigin=\"anonymous\"></script> <!--[if lt IE 9]> <script src=\"https://html5shiv.googlecode.com/svn/trunk/html5.js\"></script><![endif]--> <title>5-дневна прогноза за времето в София, България - Sinoptik.bg</title> <meta name=\"description\" content=\"5-дневна подробна прогноза за времето в София.\"/> <meta property=\"fb:admins\" content=\"692215833\"/> <meta property=\"fb:app_id\" content=\"175064929208472\"/> <meta property=\"og:title\" content=\"5-дневна прогноза за времето в София, България - Sinoptik.bg\"/> <meta property=\"og:type\" content=\"article\"/> <meta property=\"og:url\" content=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days\"/> <meta property=\"og:image\" content=\"https://m.netinfo.bg/sinoptik/icons/big/d320.png\"/> <meta property=\"og:site_name\" content=\"Sinoptik.bg - Времето в България и по света\"/> <meta property=\"og:description\" content=\"5-дневна подробна прогноза за времето в София.\"/> <link rel=\"alternate\" href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days\" hreflang=\"bg-BG\"/> <link rel=\"alternate\" href=\"https://weather.sinoptik.bg/sofia-bulgaria-100727011/5-days\" hreflang=\"en-BG\"/> <link rel=\"canonical\" href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days\"> <link rel=\"alternate\" media=\"only screen and (max-width: 640px)\" href=\"https://m.sinoptik.bg/sofia-bulgaria-100727011/5-days\"> <link rel=\"alternate\" media=\"handheld\" href=\"https://m.sinoptik.bg/sofia-bulgaria-100727011/5-days\"> <link rel=\"manifest\" href=\"/manifest.json\"> <script type=\"text/javascript\"> function getCookie(name) { var value = \"; \" + document.cookie; var parts = value.split(\"; \" + name + \"=\"); if (parts.length == 2) return parts.pop().split(\";\").shift(); } var segmentsnetinfo; var dmpcity; var sas_target_netinfo = \"\"; if (typeof (Storage) !== \"undefined\") { segmentsnetinfo = localStorage.getItem('NetinfoSegs'); dmpcity = localStorage.getItem('NetinfoRegion'); } else if (navigator.cookieEnabled) { segmentsnetinfo = getCookie('NetinfoSegs'); dmpcity = getCookie('NetinfoRegion'); } if (segmentsnetinfo != null) { segmentsnetinfo = segmentsnetinfo.replace(/\\[|\\]/g, ''); segmentsnetinfo = segmentsnetinfo.split('.'); for (x in segmentsnetinfo) { sas_target_netinfo += 'netinfodmp=' + segmentsnetinfo[x] + ';'; } } if (dmpcity != null) { sas_target_netinfo += 'dmpcity=' + dmpcity + ';'; } </script> <script src=\"https://cdn.onesignal.com/sdks/OneSignalSDK.js\" async></script> <script> var OneSignal = window.OneSignal || []; OneSignal.push([\"init\", { appId: \"62a81730-cb16-426d-a1fa-2dd4bf74186e\", autoRegister: true, requiresUserPrivacyConsent: true, welcomeNotification: { \"title\": \"Sinoptik\", \"message\": \"Благодарим ви за абонамента\", }, notifyButton: { enable: true, displayPredicate: function () { return OneSignal.isPushNotificationsEnabled() .then(function (isEnabled) { return !isEnabled; }); }, size: 'small', prenotify: true, showCredit: false, text: { 'tip.state.unsubscribed': 'Получaвайте известия от Sinoptik', 'tip.state.subscribed': \"Абонирани сте за известия\", 'tip.state.blocked': \"Блокирахте получаването на известия\", 'message.prenotify': 'Натиснете тук за абонамент за известия', 'message.action.subscribed': \"Благодарим за абонамента!\", 'message.action.resubscribed': \"Абонирани сте за известия\", 'message.action.unsubscribed': \"Изпращането на известия е прекратено\", 'dialog.main.title': 'Настройки на известията', 'dialog.main.button.subscribe': 'Абонирайте се', 'dialog.main.button.unsubscribe': 'Прекратяване на абонамента', 'dialog.blocked.title': 'Отблокиране на известията', 'dialog.blocked.message': \"Следвайте инструкциите, за да активирате известията:\" }, colors: { 'circle.background': 'rgb(42,42,42)', 'badge.background': 'rgb(42,42,42)', 'dialog.button.background': 'rgb(42,42,42)', 'dialog.button.background.hovering': 'rgb(248,248,248)', }, } }]); OneSignal.push(function () { var tags = {}; if (dmpcity != null) { tags[\"dmpcity\"] = dmpcity; } if (segmentsnetinfo != null) { if (typeof (segmentsnetinfo) === 'string') { segmentsnetinfo = segmentsnetinfo.replace(/\\[|\\]/g, ''); segmentsnetinfo = segmentsnetinfo.split(','); } for (segment of segmentsnetinfo) { tags[segment] = 1; } } if (Object.keys(tags).length) { OneSignal.sendTags(tags); } }); //cookie must contain string \"2222222\" or with more \"2\" (up to 15) if (/2{5,15}/.test(getCookie('netinfo_consent_bit'))) { var consent = true; } setTimeout(userTappedProvideConsentButton, 2000); function userTappedProvideConsentButton() { if (typeof consent !== 'undefined') { // Will initialize the SDK and register for push notifications OneSignal.push(function () { OneSignal.provideUserConsent(true); }); } } </script> <script async=\"async\" src='https://www.googletagservices.com/tag/js/gpt.js'></script> <script> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; </script> <script> /* googletag.cmd.push(function() { googletag.defineSlot('/157018629/Sinoptik.bg/Desktop/All_pages/Hidden/RichMedia', [1, 1], 'div-gpt-ad-1526903420347-0').addService(googletag.pubads()); googletag.defineSlot('/157018629/Sinoptik.bg/Desktop/All_pages/Leaderboard/ATF', [[1, 1], [970, 250], [728, 90]], 'div-gpt-ad-1526903420347-1').addService(googletag.pubads()); googletag.defineSlot('/157018629/Sinoptik.bg/Desktop/All_pages/Leaderboard/BTF', [[640, 300], [1, 1]], 'div-gpt-ad-1526903420347-2').addService(googletag.pubads()); googletag.defineSlot('/157018629/Sinoptik.bg/Desktop/All_pages/Leaderboard/BTF2', [[1, 1], [970, 250], [728, 90]], 'div-gpt-ad-1526903420347-3').addService(googletag.pubads()); googletag.defineSlot('/157018629/Sinoptik.bg/Desktop/All_pages/Rectangle/ATF', [[1, 1], [300, 600], [300, 250]], 'div-gpt-ad-1526903420347-4').addService(googletag.pubads()); googletag.defineSlot('/157018629/Sinoptik.bg/Desktop/All_pages/Rectangle/BTF', [[1, 1], [300, 600], [300, 250]], 'div-gpt-ad-1526903420347-5').addService(googletag.pubads()); googletag.defineSlot('/157018629/Sinoptik.bg/Desktop/All_pages/Rectangle/BTF2', [[1, 1], [300, 600], [300, 250]], 'div-gpt-ad-1526903420347-6').addService(googletag.pubads()); //googletag.pubads().enableSyncRendering(); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); */ </script> <script type=\"text/javascript\" src=\"https://lib.wtg-ads.com/lib.min.js\" async></script> <script> var w2g = w2g || {}; w2g.targeting = {}; /* modify SAS target with Krux segments */ sas_target = 'lid=100727011;country=BG;section=index;;period=fivedays' + ';' + sas_target_netinfo; sas_target += ';' + sas_target_netinfo; sas_target = sas_target.replace(\"&\", \";\"); /* modify SAS target with Krux segments */ var dfp_target = sas_target.split(\";\"); dfp_target.forEach(function (entry) { onetarget = entry.split(\"=\"); if (w2g.targeting[onetarget[0]] === 'undefined' || w2g.targeting[onetarget[0]] === null || !w2g.targeting[onetarget[0]]) { w2g.targeting[onetarget[0]] = [onetarget[1]]; } else { w2g.targeting[onetarget[0]].push(onetarget[1]); } }); w2g.cmd = w2g.cmd || []; if (/2{5,15}/.test(getCookie('netinfo_consent_bit'))) { var consent = true; } if (typeof consent !== 'undefined') { w2g.cmd.push(function () { w2g.run(consent); }); } </script> <style type=\"text/css\">nav li a { padding: 7px 25px 2px; padding: 8px 21px 2px \\9; /*ie8 fix*/ } </style> </head> <body> <!-- Google Tag Manager --> <script> dataLayer = []; </script> <noscript><iframe src=\"//www.googletagmanager.com/ns.html?id=GTM-54V594\" height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript> <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= '//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-54V594');</script> <!-- End Google Tag Manager --> <div id=\"fb-root\"></div> <script> window.fbAsyncInit = function () { FB.init({appId: '175064929208472', status: false, cookie: false, oauth: false, xfbml: true}); }; (function (d) { var js, id = 'facebook-jssdk'; if (d.getElementById(id)) { return; } js = d.createElement('script'); js.id = id; js.async = true; js.src = \"//connect.facebook.net/bg_BG/all.js\"; d.getElementsByTagName('head')[0].appendChild(js); }(document)); </script> <script> window.___gcfg = {lang: 'bg'}; (function () { var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true; po.src = 'https://apis.google.com/js/plusone.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s); })(); </script> <div class=\"wrapper\"> <!-- HEADER BEGIN --> <header> <div class=\"headerTop\"> <div> <ul> <li><a class=\"netinfoTopLogo\" target=\"_blank\" href=\"http://www.netinfocompany.bg/\">Нетинфо</a></li> <li><a class=\"vestiTopLogo\" target=\"_blank\" href=\"https://www.vesti.bg/\">Vesti.bg</a><span class=\"sep\">|</span></li> <li><a class=\"sportniTopLogo\" target=\"_blank\" href=\"https://gong.bg/\">Gong.bg</a><span class=\"sep\">|</span></li> <li><a class=\"darknewsTopLogo\" target=\"_blank\" href=\"https://dariknews.bg/\">Dariknews.bg</a><span class=\"sep\">|</span></li> <li><a class=\"novaTopLogo\" target=\"_blank\" href=\"https://nova.bg/\">Nova.bg</a><span class=\"sep\">|</span> </li> <li><a class=\"ednaTopLogo\" target=\"_blank\" href=\"https://edna.bg/\">Edna.bg</a></li> </ul> <div class=\"memberArea_tempScales\"> <div class=\"tempScales\"> <a href=\"https://weather.sinoptik.bg/sofia-bulgaria-100727011/5-days\" class=\"langSelect\" title=\"English version\"><img src=\"https://m.netinfo.bg/sinoptik/images/flag_en.jpg\" width=\"16\" height=\"11\"/> English</a> </div> <div class=\"tempScales\"> <a href=\"javascript:;\" onclick=\"SetCookie('units', 'C', 1500, '/', '.sinoptik.bg'); window.location.reload();\" class=\"tempDegree selected\" title=\"Целзий\">&deg;C</a> <a href=\"javascript:;\" onclick=\"SetCookie('units', 'F', 1500, '/', '.sinoptik.bg'); window.location.reload();\" class=\"tempFahrenheit\" title=\"Фаренхайт\">&deg;F</a> </div> </div> </div> </div> <div class=\"headerMain\"> <div> <a href=\"https://www.sinoptik.bg/\" class=\"sinoptikLogo\" style=\"background: url(https://bimg.abv.bg/sinoptik/desktop11.png) no-repeat; background-size: 100%; top:10px; height:80px;\" >Прогноза за времето в България и по света от Sinoptik.bg</a> <div class=\"searchTop\"> <form method=\"get\" action=\"https://www.sinoptik.bg/search\"> <p> <input type=\"text\" id=\"searchField\" name=\"q\" title=\"Търси град\" value=\"\" class=\"searchTopField blur\"/> <button class=\"searchTopButton\">Търси</button> </p> <p class=\"radioButtons\"> <input type=\"radio\" id=\"inSinoptik\" name=\"in\" value=\"sinoptik\" checked=\"checked\"/> <label for=\"inSinoptik\">В Sinoptik.bg</label> <input type=\"radio\" id=\"inMap\" name=\"in\" value=\"map\"/> <label for=\"inMap\">В карта</label> </p> </form> </div> <div class=\"mobileSocialWidgets\"> <a href=\"https://m.sinoptik.bg/?view=mobile\" target=\"_blank\" class=\"mobile\" title=\"Мобилна версия\">Мобилна версия</a> <a href=\"http://www.facebook.com/Sinoptik.bg\" target=\"_blank\" class=\"fb\" title=\"Стани фен\">Стани фен</a> <a href=\"https://instagram.com/sinoptik.bg\" target=\"_blank\" class=\"insta\" title=\"Instagram профил\">Instagram профил</a> <a href=\"https://www.sinoptik.bg/widgets\" class=\"widgetsIco\" title=\"Времето в твоя сайт\">Времето в твоя сайт</a> </div> </div> </div> </header> <!---- HEADER END -----> <!---- NAVIGATION BEGIN -----> <nav> <div> <ul> <li class=\"first selected\"> <a href=\"https://www.sinoptik.bg/\">Начало</a> </li> <li> <a href=\"https://www.sinoptik.bg/locations/europe/bulgaria\">България</a> </li> <li> <a href=\"https://www.sinoptik.bg/locations/europe\">Европа</a> </li> <li> <a href=\"https://www.sinoptik.bg/locations\">Свят</a> </li> <li> <a href=\"https://www.sinoptik.bg/resorts\">Курорти</a> </li> <!-- <li> <a href=\"https://www.sinoptik.bg/ski-conditions\">Курорти</a> </li>--> <li> <a href=\"https://www.sinoptik.bg/moon-phase\"> Фаза на луната</a> </li> <li> <a href=\"https://www.sinoptik.bg/map\">Карта</a> </li> <li> <a href=\"https://www.sinoptik.bg/news\">За времето</a> </li> <li> <a href=\"https://www.sinoptik.bg/video\">Видео</a> </li> </ul> </div> </nav> <!---- NAVIGATION END -----> <div class=\"nav_banner\"> <!-- /157018629/Sinoptik.bg/Desktop/All_pages/Leaderboard/ATF --> <div id='div-gpt-ad-1526903420347-1'> <script> googletag.cmd.push(function() { googletag.display('div-gpt-ad-1526903420347-1'); }); </script> </div> </div><center> <!-- <script> //create fake element, that will be removed by AdBlocker var test = document.createElement('div'); test.innerHTML = '&nbsp;'; test.className = 'adsbox'; document.body.appendChild(test); setTimeout(function(){ doFallback(); },2000); //if that element is remved - show Adwise function doFallback(){ if ($('.adsbox').length<3) { adwise_w = 728; adwise_h = 90; adwise_publisher_id = 2307; adwise_channel_id = 2; adwise_ads = 2; document.write('<script type=\"text/javascript\" src=\"//i.adwise.bg/context/context-0.1.js\"><\\/script>'); } } </script>--> </center> <!---- CONTAINER BEGIN -----> <div class=\"container\"> <!---- MY CITIES BEGIN -----> <!---- MY CITIES END -----> <!---- MAIN BLOCK BEGIN -----> <div class=\"mainBlock\"> <div class=\"currentCityBlock\"> <div class=\"currentCityInfo\"> <a href=\"https://www.sinoptik.bg/locations/europe\"> Европа</a>, <a href=\"https://www.sinoptik.bg/locations/europe/bulgaria\"> България</a> <div class=\"currentCityHeading\"> <h1 class=\"currentCity\">София</h1> </div> <span class=\"currentTime\">Обновено в <time>14:30 ч. на 5 юни</time></span> </div> <div class=\"addCurrentDefaultCity\"> <a class=\"addCurrentCity\" onclick=\"AddLocation(100727011,'България'); window.location.reload();\" href=\"#\">Добави в моите градове</a> <a class=\"defaultCity\" onclick=\"SetDefault(100727011); window.location.reload();\" href=\"#\">Отваряй по подразбиране</a> </div> </div> <!---- WEATHER FORECAST BEGIN -----> <div class=\"weatherForecast\"> <ul class=\"weatherForecastTabs wfTabs\"> <li class=\"wfCurrent\"> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011\"> В момента</a> </li> <li> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/hourly\"> 24-часова</a> </li> <li> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/weekend\"> Уикенд</a> </li> <li class=\"selected\"> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days\"> 5-дневна</a> </li> <li class=\"wf10day\"> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/10-days\"> 10-дневна</a> </li> </ul> <div class=\"wfWrapper\"> <div id=\"wf5day\" class=\"tabContent wf5dayShort\"> <div class=\"wf5dayContent\"> <span class=\"wf5dayHeading wf5dayCondHeading\">Прогноза:</span> <span class=\"wf5dayHeading wf5dayMinMaxTempHeading\">Мин. | Макс.:</span> <span class=\"wf5dayHeading wf5dayWindHeading\">Вятър:</span> <span class=\"wf5dayHeading wf5dayRainHeading\">Вероятност за валежи:</span> <span class=\"wf5dayHeading\">Количество валежи:</span> <span class=\"wf5dayHeading\">Вероятност за буря:</span> <span class=\"wf5dayHeading wf5dayCloudinessHeading\">Облачност:</span> <span class=\"wf5dayHeading\">UV индекс:</span> <span class=\"wf5dayHeading wf5daySunRiseHeading\">Изгрев:</span> <span class=\"wf5dayHeading\">Залез:</span> <span class=\"wf5dayHeading\">Продължителност на деня:</span> <span class=\"wf5dayHeading wf5dayMoonPhaseHeading\">Фаза на луната:</span> <span class=\"wf5dayHeading\">Зодиакален знак:</span> <span class=\"wf5dayHeading\">Осветеност:</span> <span class=\"wf5dayHeading wf5dayMoonCycleHeading\">Позиция в лунен цикъл:</span> </div> <div class=\"wf5dayRightContent\"> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/1\" class=\"wfFridayContent wf5dayRight\" title=\"Виж подробна прогноза\"> <span class=\"wf5dayRightDay\">Сряда</span> <span class=\"wf5dayRightDate\">05.06.2019</span> <img src=\"https://m4.netinfo.bg/sinoptik/icons/middle/d320.png\" width=\"88\" height=\"85\" class=\"wf5dayRightImg\" alt=\"Предимно облачно, кратък дъжд\" title=\"Предимно облачно, кратък дъжд\" /> <span class=\"wf5dayRightTemp\" title=\"Минимална температура\">11&deg; | <span title=\"Максимална температура\">20&deg;</span></span> <strong class=\"wf5dayRightCond\">Предимно облачно, кратък дъжд</strong> <span class=\"wf5dayRightWind windImgE\" title=\"изток, тих\"> 1.3 m/s<br /><span>тих</span> </span> <span class=\"wf5dayRighValue wf5dayRightRainValue\">73%</span> <span class=\"wf5dayRighValue\">14.5 mm</span> <span class=\"wf5dayRighValue\">20%</span> <span class=\"wf5dayRighValue wf5dayRightCloudinessValue\">86%</span> <span class=\"wf5dayRighValue wf5dayRightUvValue\">8 <span>- много висок</span></span> <span class=\"wf5dayRighValue wf5dayRightSunRiseValue\">05:49 ч.</span> <span class=\"wf5dayRighValue\">21:00 ч.</span> <span class=\"wf5dayRighValue\">15 ч. и 10 мин.</span> <span class=\"wf5dayRighValue wf5dayRightMoonPhaseValue\"> <img src=\"https://m.netinfo.bg/sinoptik/icons/moon/m3.png\" width=\"37\" height=\"38\" title=\"Нарастващ полумесец\" alt=\"Нарастващ полумесец\" /> <br />Нарастващ полумесец </span> <span class=\"wf5dayRighValue\">Рак</span> <span class=\"wf5dayRighValue\">5%</span> <span class=\"wf5dayRighValue wf5dayRightMoonCycleValue 2\">0.07</span> </a> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/2\" class=\"wfFridayContent wf5dayRight\" title=\"Виж подробна прогноза\"> <span class=\"wf5dayRightDay\">Четвъртък</span> <span class=\"wf5dayRightDate\">06.06.2019</span> <img src=\"https://m4.netinfo.bg/sinoptik/icons/middle/d220.png\" width=\"88\" height=\"85\" class=\"wf5dayRightImg\" alt=\"Облачно, кратък дъжд\" title=\"Облачно, кратък дъжд\" /> <span class=\"wf5dayRightTemp\" title=\"Минимална температура\">12&deg; | <span title=\"Максимална температура\">23&deg;</span></span> <strong class=\"wf5dayRightCond\">Облачно, кратък дъжд</strong> <span class=\"wf5dayRightWind windImgSE\" title=\"югоизток, тих\"> 1.4 m/s<br /><span>тих</span> </span> <span class=\"wf5dayRighValue wf5dayRightRainValue\">67%</span> <span class=\"wf5dayRighValue\">6.5 mm</span> <span class=\"wf5dayRighValue\">27%</span> <span class=\"wf5dayRighValue wf5dayRightCloudinessValue\">55%</span> <span class=\"wf5dayRighValue wf5dayRightUvValue\">8 <span>- много висок</span></span> <span class=\"wf5dayRighValue wf5dayRightSunRiseValue\">05:49 ч.</span> <span class=\"wf5dayRighValue\">21:01 ч.</span> <span class=\"wf5dayRighValue\">15 ч. и 11 мин.</span> <span class=\"wf5dayRighValue wf5dayRightMoonPhaseValue\"> <img src=\"https://m.netinfo.bg/sinoptik/icons/moon/m4.png\" width=\"37\" height=\"38\" title=\"Нарастващ полумесец\" alt=\"Нарастващ полумесец\" /> <br />Нарастващ полумесец </span> <span class=\"wf5dayRighValue\">Рак</span> <span class=\"wf5dayRighValue\">11%</span> <span class=\"wf5dayRighValue wf5dayRightMoonCycleValue 3\">0.11</span> </a> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/3\" class=\"wfFridayContent wf5dayRight\" title=\"Виж подробна прогноза\"> <span class=\"wf5dayRightDay\">Петък</span> <span class=\"wf5dayRightDate\">07.06.2019</span> <img src=\"https://m4.netinfo.bg/sinoptik/icons/middle/d200.png\" width=\"88\" height=\"85\" class=\"wf5dayRightImg\" alt=\"Променлива облачност\" title=\"Променлива облачност\" /> <span class=\"wf5dayRightTemp\" title=\"Минимална температура\">13&deg; | <span title=\"Максимална температура\">27&deg;</span></span> <strong class=\"wf5dayRightCond\">Променлива облачност</strong> <span class=\"wf5dayRightWind windImgNE\" title=\"североизток, лек полъх\"> 2.0 m/s<br /><span>лек полъх</span> </span> <span class=\"wf5dayRighValue wf5dayRightRainValue\">39%</span> <span class=\"wf5dayRighValue\">0.1 mm</span> <span class=\"wf5dayRighValue\">2%</span> <span class=\"wf5dayRighValue wf5dayRightCloudinessValue\">36%</span> <span class=\"wf5dayRighValue wf5dayRightUvValue\">8 <span>- много висок</span></span> <span class=\"wf5dayRighValue wf5dayRightSunRiseValue\">05:49 ч.</span> <span class=\"wf5dayRighValue\">21:01 ч.</span> <span class=\"wf5dayRighValue\">15 ч. и 12 мин.</span> <span class=\"wf5dayRighValue wf5dayRightMoonPhaseValue\"> <img src=\"https://m.netinfo.bg/sinoptik/icons/moon/m5.png\" width=\"37\" height=\"38\" title=\"Нарастващ полумесец\" alt=\"Нарастващ полумесец\" /> <br />Нарастващ полумесец </span> <span class=\"wf5dayRighValue\">Лъв</span> <span class=\"wf5dayRighValue\">19%</span> <span class=\"wf5dayRighValue wf5dayRightMoonCycleValue 4\">0.14</span> </a> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/4\" class=\"wfFridayContent wf5dayRight\" title=\"Виж подробна прогноза\"> <span class=\"wf5dayRightDay\">Събота</span> <span class=\"wf5dayRightDate\">08.06.2019</span> <img src=\"https://m4.netinfo.bg/sinoptik/icons/middle/d200.png\" width=\"88\" height=\"85\" class=\"wf5dayRightImg\" alt=\"Променлива облачност\" title=\"Променлива облачност\" /> <span class=\"wf5dayRightTemp\" title=\"Минимална температура\">15&deg; | <span title=\"Максимална температура\">28&deg;</span></span> <strong class=\"wf5dayRightCond\">Променлива облачност</strong> <span class=\"wf5dayRightWind windImgN\" title=\"север, лек полъх\"> 2.8 m/s<br /><span>лек полъх</span> </span> <span class=\"wf5dayRighValue wf5dayRightRainValue\">55%</span> <span class=\"wf5dayRighValue\">0.4 mm</span> <span class=\"wf5dayRighValue\">15%</span> <span class=\"wf5dayRighValue wf5dayRightCloudinessValue\">28%</span> <span class=\"wf5dayRighValue wf5dayRightUvValue\">9 <span>- много висок</span></span> <span class=\"wf5dayRighValue wf5dayRightSunRiseValue\">05:48 ч.</span> <span class=\"wf5dayRighValue\">21:02 ч.</span> <span class=\"wf5dayRighValue\">15 ч. и 13 мин.</span> <span class=\"wf5dayRighValue wf5dayRightMoonPhaseValue\"> <img src=\"https://m.netinfo.bg/sinoptik/icons/moon/m6.png\" width=\"37\" height=\"38\" title=\"Нарастващ полумесец\" alt=\"Нарастващ полумесец\" /> <br />Нарастващ полумесец </span> <span class=\"wf5dayRighValue\">Лъв</span> <span class=\"wf5dayRighValue\">28%</span> <span class=\"wf5dayRighValue wf5dayRightMoonCycleValue 5\">0.18</span> </a> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/5\" class=\"wfFridayContent wf5dayRight\" title=\"Виж подробна прогноза\"> <span class=\"wf5dayRightDay\">Неделя</span> <span class=\"wf5dayRightDate\">09.06.2019</span> <img src=\"https://m4.netinfo.bg/sinoptik/icons/middle/d220.png\" width=\"88\" height=\"85\" class=\"wf5dayRightImg\" alt=\"Облачно, кратък дъжд\" title=\"Облачно, кратък дъжд\" /> <span class=\"wf5dayRightTemp\" title=\"Минимална температура\">17&deg; | <span title=\"Максимална температура\">24&deg;</span></span> <strong class=\"wf5dayRightCond\">Облачно, кратък дъжд</strong> <span class=\"wf5dayRightWind windImgNE\" title=\"североизток, лек полъх\"> 2.6 m/s<br /><span>лек полъх</span> </span> <span class=\"wf5dayRighValue wf5dayRightRainValue\">88%</span> <span class=\"wf5dayRighValue\">2.1 mm</span> <span class=\"wf5dayRighValue\">40%</span> <span class=\"wf5dayRighValue wf5dayRightCloudinessValue\">66%</span> <span class=\"wf5dayRighValue wf5dayRightUvValue\">-</span> <span class=\"wf5dayRighValue wf5dayRightSunRiseValue\">05:48 ч.</span> <span class=\"wf5dayRighValue\">21:03 ч.</span> <span class=\"wf5dayRighValue\">15 ч. и 14 мин.</span> <span class=\"wf5dayRighValue wf5dayRightMoonPhaseValue\"> <img src=\"https://m.netinfo.bg/sinoptik/icons/moon/m7.png\" width=\"37\" height=\"38\" title=\"Нарастващ полумесец\" alt=\"Нарастващ полумесец\" /> <br />Нарастващ полумесец </span> <span class=\"wf5dayRighValue\">Дева</span> <span class=\"wf5dayRighValue\">40%</span> <span class=\"wf5dayRighValue wf5dayRightMoonCycleValue 6\">0.22</span> </a> <div class=\"wf5dayGraphBlock\"> <div class=\"wf5dayGraph\" style=\"padding: 10px 0 0 33px; height: 170px;\"> <div id=\"chart\" align=\"center\"> </div> <script type=\"text/javascript\"> var flashvars = { 'dataXML': \"<chart bgColor='ffffff' baseFontColor='333333' labelPadding='0' valuePadding='8' yAxisValuesPadding='10' chartLeftMargin='10' chartRightMargin='10' chartBottomMargin='0' chartTopMargin='0' zeroPlaneColor='666666' zeroPlaneThickness='1' zeroPlaneAlpha='100' hoverCapBorderColor='848283' hoverCapBgColor='ffffff' showPlotBorder='1' plotBorderColor='fec007' plotBorderThickness='2' plotFillAngle='90' plotFillRatio='10,90' plotFillColor='fec007' plotfillalpha='60' plotGradientColor='ffffff' showLabels='0' showValues='1' showYAxisValues='0' showAnchors='1' anchorRadius='5' showBorder='0' setAdaptiveYMin='1' numberSuffix='°' vDivLineThickness='1' vDivlineColor='cccccc' vDivlineAlpha='20' vDivLineIsDashed='0' divLineIsDashed='1' divlinecolor='dddddd' divlinealpha='90' adjustDiv='1' canvasBorderThickness='2' canvaspadding='0' canvasBorderColor='ffffff' outcnvBaseFontColor='333333' alternateHGridAlpha='15' yAxisValuesStep='1' alternateHGridColor='ffffff' numVDivLines='3' canvasBgAlpha='0' bgAlpha='0,0' > <set toolText='' label='05.06.2019' value='20' /> <set toolText='' label='06.06.2019' value='23' /> <set toolText='' label='07.06.2019' value='27' /> <set toolText='' label='08.06.2019' value='28' /> <set toolText='' label='09.06.2019' value='24' /> <styles> <definition> <style name='fontStyleX' type='font' font='Georgia' size='12' color='2A2A2A' bold='1' isHTML='1'/> <style name='fontStyleY' type='font' font='Tahoma' size='9' color='666666' bold='1' isHTML='1'/> <style name='fontStyleTT' type='font' font='Georgia' size='14' borderColor='f1f1f1' color='333333' bold='1' isHTML='1'/> <style name='AnchorsXAnim' type='animation' param='_x' start='0' easing='strong' duration='1'/> <style name='AnchorsYAnim' type='animation' param='_y' start='0' easing='strong' duration='1'/> </definition> <application> <apply toObject='TOOLTIP' styles='fontStyleTT'/> <apply toObject='YAXISVALUES' styles='fontStyleY'/> <apply toObject='DATAVALUES' styles='fontStyleX'/> <apply toObject='DATALABELS' styles='fontStyleX'/> <apply toObject='ANCHORS' styles='AnchorsXAnim,AnchorsYAnim' /> </application> </styles></chart>\" }; var attributes = {}; swfobject.embedSWF(\"https://m5.netinfo.bg/sinoptik/swf/chart.swf\", \"chart\", \"372\", \"167\", \"9.0.0\", false, flashvars, '', ''); </script> </div> <div class=\"wf5dayGraphDays\"> <ul> <li> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/1\">Сряда</a> <span>05.06.2019</span> </li> <li> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/2\">Четвъртък</a> <span>06.06.2019</span> </li> <li> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/3\">Петък</a> <span>07.06.2019</span> </li> <li> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/4\">Събота</a> <span>08.06.2019</span> </li> <li> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days/5\">Неделя</a> <span>09.06.2019</span> </li> </ul> </div> </div> </div> </div> </div> <a href=\"#\" class=\"wfHideDetails wfHideDetailsDown\" rel=\"Скрий детайли\"> Покажи детайли</a> </div> <div id=\"grabo_b423\"></div> <!-- /157018629/Sinoptik.bg/Desktop/All_pages/Leaderboard/GraboFasha --> <div id='div-gpt-ad-1553517775994-0'></div> <!---- WEATHER FORECAST END -----> <script> function showNative(obj) { if (window.jQuery == undefined) { return; } var lastElement = $('.wfNewsContentNews > .wfWeatherNews:last-child'); $(lastElement).find('a').attr('href', obj.url); $(lastElement).find('a.imgLink > img').attr('src', obj.thumbSquared); $(lastElement).find('h3>a').text(decodeURIComponent(obj.title)); $(lastElement).find('time').text(''); if ($(lastElement).find('.native-ad-source').length === 0) { var sourceSiteLinkElement = $('<p>', {'class': 'native-ad-source'}).append( $('<a>', {'href': obj.url, 'target': '_blank'}) .text(obj.hostSite)); $(lastElement).append(sourceSiteLinkElement); } else { $(lastElement) .find('.native-ad-source>p') .text(obj.hostSite) .attr('href', obj.url); } } </script> <!--new news block--> <div class=\"wfNewsBlockNews\"> <h2> <a href=\"/news\">За времето</a></h2> <div class=\"wfNewsContentNews\"> <!-- append news content here --> <div class=\"wfWeatherNews news_number_0\"> <a href=\"https://www.sinoptik.bg/news/vremeto-do-sredata-na-meseca-2975\" class=\"imgLink\"> <img src=\"https://m5.netinfo.bg/media/images/38371/38371697/308-217-vreme-kuche.jpg\" alt=\"Времето до средата на месеца\" width=\"178\" height=\"105\"> </a> <h3> <a href=\"https://www.sinoptik.bg/news/vremeto-do-sredata-na-meseca-2975\" >Времето до средата на месеца</a> </h3> <time>преди 1 час</time> </div> <div class=\"wfWeatherNews news_number_1\"> <a href=\"https://www.sinoptik.bg/news/svetovniiat-den-na-okolnata-sreda-e-dnes-2974\" class=\"imgLink\"> <img src=\"https://m3.netinfo.bg/media/images/38370/38370268/308-217-ptica.jpg\" alt=\"Световният ден на околната среда е днес\" width=\"178\" height=\"105\"> </a> <h3> <a href=\"https://www.sinoptik.bg/news/svetovniiat-den-na-okolnata-sreda-e-dnes-2974\" >Световният ден на околната среда е днес</a> </h3> <time>преди 4 часа</time> </div> <div class=\"wfWeatherNews news_number_2\"> <a href=\"https://www.sinoptik.bg/news/everest-stava-po-mrysen-i-topyl-2973\" class=\"imgLink\"> <img src=\"https://m4.netinfo.bg/media/images/38369/38369089/308-217-everest.jpg\" alt=\"Еверест става по-мръсен и топъл\" width=\"178\" height=\"105\"> </a> <h3> <a href=\"https://www.sinoptik.bg/news/everest-stava-po-mrysen-i-topyl-2973\" >Еверест става по-мръсен и топъл</a> </h3> <time>преди 6 часа</time> </div> <div class=\"wfWeatherNews news_number_3\"> <a href=\"https://www.sinoptik.bg/news/poveche-slynce-v-sriada-2972\" class=\"imgLink\"> <img src=\"https://m5.netinfo.bg/media/images/38367/38367137/308-217-vreme-cvete.jpg\" alt=\"Повече слънце в сряда\" width=\"178\" height=\"105\"> </a> <h3> <a href=\"https://www.sinoptik.bg/news/poveche-slynce-v-sriada-2972\" >Повече слънце в сряда</a> </h3> <time>преди 6 часа</time> </div> <div class=\"wfWeatherNews news_number_4\"> <a href=\"https://www.sinoptik.bg/news/plodnite-prilepi-na-papua-2971\" class=\"imgLink\"> <img src=\"https://m3.netinfo.bg/media/images/38360/38360051/308-217-prilepi.jpg\" alt=\"Плодните прилепи на Папуа\" width=\"178\" height=\"105\"> </a> <h3> <a href=\"https://www.sinoptik.bg/news/plodnite-prilepi-na-papua-2971\" >Плодните прилепи на Папуа</a> </h3> <time>преди 23 часа</time> </div> <div class=\"wfWeatherNews news_number_5\"> <a href=\"https://www.sinoptik.bg/news/chast-ot-e79-beshe-zaliata-ot-dyzhd-i-kal-2969\" class=\"imgLink\"> <img src=\"https://m4.netinfo.bg/media/images/38355/38355799/308-217-kal.jpg\" alt=\"Част от Е79 беше залята от дъжд и кал\" width=\"178\" height=\"105\"> </a> <h3> <a href=\"https://www.sinoptik.bg/news/chast-ot-e79-beshe-zaliata-ot-dyzhd-i-kal-2969\" >Част от Е79 беше залята от дъжд и кал</a> </h3> <time>вчера</time> </div> </div> </div> <!--new news block--> <!-- /157018629/Sinoptik.bg/Desktop/All_pages/Native_ads/Native --> <div id='div-gpt-ad-1548159765907-0' style='height:1px; width:1px;'></div> <!-- NEWS BLOCK BEGIN --> <iframe style=\"width:640px; height: 563px;\" src=\"https://bimg.abv.bg/banners/inhouse/sinoptik/news_blok/block_news.html?bimg\" scrolling=\"no\" frameborder=\"no\"></iframe> <!-- NEWS BLOCK END --> <div style=\"margin-bottom: 20px;\"> <div id='div-gpt-ad-1526903420347-2'> </div> </div> <!-- PHOTO AND VIDEO OF THE DAY BEGIN --> <div class=\"wfNewsBlock\"> <h2> <a href=\"https://www.sinoptik.bg/photo/proletni-cvetia-521\"> Снимка на деня</a> </h2> <div class=\"photoContent\"> <div class=\"photo-wrapper\" style=\"text-align:center;height:auto;margin:0 auto\"> <a class=\"photoZoom\" href=\"https://www.sinoptik.bg/photo/proletni-cvetia-521?view=full\" style=\"width:616px;height:auto\"> <img class=\"loaderPgImg\" src=\"https://m5.netinfo.bg/media/images/38361/38361727/r-616-401-cvete.jpg\" alt=\"Пролетни цветя\" /> </a> </div> <div class=\"photoInfo\"> <p>Мариела В.</p> <span class=\"photoInfoAuthor\"> <b>Автор:</b> Снимай пролетта със Sinoptik.bg и спечели награда </span> </div> <div class=\"shareVidSource clearfix\"> <div class=\"share-block-sinoptik small-share-btn\"> <a class=\"gtm-ShareBlock-Facebook-click facebook-share-sinoptik\" alt=\"Сподели с Facebook\" target=\"_blank\" onclick=\"javascript:window.open(this.href, '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height=300,width=600');return false;\" href=\"https://www.facebook.com/sharer/sharer.php?u=https://www.sinoptik.bg/photo/proletni-cvetia-521\"> <span class=\"facebookShareNumber\"></span> </a> </div> <a class=\"more-photos\" href=\"https://www.sinoptik.bg/photo/proletni-cvetia-521\"> Виж всички </a> </div> </div> </div> <!-- PHOTO AND VIDEO OF THE DAY END --> </div> <!---- MAIN BLOCK END -----> <div class=\"rightBlock\"> <script type=\"text/javascript\"> function showBanner(id, height) { $('#banner-' + id).show(); } </script> <div class=\"rightBanner\"> <!-- /157018629/Sinoptik.bg/Desktop/All_pages/Rectangle/ATF --> <div id='div-gpt-ad-1526903420347-4'> <script> googletag.cmd.push(function() { googletag.display('div-gpt-ad-1526903420347-4'); }); </script> </div> <center> <!-- <script> //create fake element, that will be removed by AdBlocker var test = document.createElement('div'); test.innerHTML = '&nbsp;'; test.className = 'adsbox'; document.body.appendChild(test); setTimeout(function(){ doFallback(); },2000); //if that element is remved - show Adwise function doFallback(){ if ($('.adsbox').length<3) { adwise_w = 300; adwise_h = 250; adwise_publisher_id = 2307; adwise_channel_id = 1; adwise_ads = 2; document.write('<script type=\"text/javascript\" src=\"//i.adwise.bg/context/context-0.1.js\"><\\/script>'); } } </script>--> </center> </div> <div class=\"vestiNews\"> <h2> <a href=\"https://www.sinoptik.bg/video\"> Видео</a> </h2> <div class=\"pvDContent\"> <a id=\"homePlayer\" href=\"https://www.sinoptik.bg/video/prognoza-za-vremeto-05.06.2019-obedna-emisiia-80264\" class=\"imgLink imgVideoLink\"> <img src=\"https://m.netinfo.bg/media/images/38372/38372734/308-217-prognoza-za-vremeto-05-06-2019-obedna-emisiia.jpg\" alt=\"Прогноза за времето (05.06.2019 - обедна емисия)\" width=\"298\" height=\"217\"> <img src=\"https://m.netinfo.bg/sinoptik/images/sinoptikVideoHoverMid.png\" width=\"69\" height=\"71\" class=\"imgVideoLinkHover\" alt=\"\"> </a> <h3> <a href=\"https://www.sinoptik.bg/video/prognoza-za-vremeto-05.06.2019-obedna-emisiia-80264\"> Прогноза за времето (05.06.2019 - обедна емисия)</a> </h3> </div> </div> <div class=\"resorts\"> <h2>Последно посетени</h2> <div class=\"resortsContent\"> <a href=\"https://www.sinoptik.bg/sofia-bulgaria-100727011\" class=\"resortsRow\" title=\"Виж прогноза за времето в София\"> <span class=\"resortName\">София</span> <span class=\"resortTemp\">11&deg; | <span>20&deg;</span></span> <img src=\"https://m5.netinfo.bg/sinoptik/icons/tiny/d320.png\" alt=\"Предимно облачно с краткотрайни превалявания от дъжд\" width=\"35\" height=\"33\" class=\"resortCondImg\" title=\"Предимно облачно с краткотрайни превалявания от дъжд\" /> </a> </div> </div> <div class=\"vestiNews\"> <h2><a href=\"https://www.sinoptik.bg/resorts\">Курорти</a></h2> <div class=\"resortsContent\"> <a href=\"https://www.sinoptik.bg/varna-bulgaria-100726050\" class=\"resortsRow\" title=\"Виж прогноза за времето в Варна\"> <span class=\"resortName\">Варна</span> <span class=\"resortTemp\">17&deg; | <span>24&deg;</span></span> <img src=\"https://m5.netinfo.bg/sinoptik/icons/tiny/d240.png\" alt=\"Променлива облачност, възможни валежи от дъжд с гръмотевици\" width=\"35\" height=\"33\" class=\"resortCondImg\" title=\"Променлива облачност, възможни валежи от дъжд с гръмотевици\" /> </a> <a href=\"https://www.sinoptik.bg/burgas-bulgaria-100732770\" class=\"resortsRow\" title=\"Виж прогноза за времето в Бургас\"> <span class=\"resortName\">Бургас</span> <span class=\"resortTemp\">16&deg; | <span>24&deg;</span></span> <img src=\"https://m5.netinfo.bg/sinoptik/icons/tiny/d100.png\" alt=\"Предимно слънчево\" width=\"35\" height=\"33\" class=\"resortCondImg\" title=\"Предимно слънчево\" /> </a> <a href=\"https://www.sinoptik.bg/akhtopol-bulgaria-100733722\" class=\"resortsRow\" title=\"Виж прогноза за времето в Ахтопол\"> <span class=\"resortName\">Ахтопол</span> <span class=\"resortTemp\">14&deg; | <span>24&deg;</span></span> <img src=\"https://m5.netinfo.bg/sinoptik/icons/tiny/d100.png\" alt=\"Предимно слънчево\" width=\"35\" height=\"33\" class=\"resortCondImg\" title=\"Предимно слънчево\" /> </a> <a href=\"https://www.sinoptik.bg/golden-sands-bulgaria-106355004\" class=\"resortsRow\" title=\"Виж прогноза за времето в Златни пясъци\"> <span class=\"resortName\">Златни пясъци</span> <span class=\"resortTemp\">17&deg; | <span>24&deg;</span></span> <img src=\"https://m5.netinfo.bg/sinoptik/icons/tiny/d240.png\" alt=\"Променлива облачност, възможни валежи от дъжд с гръмотевици\" width=\"35\" height=\"33\" class=\"resortCondImg\" title=\"Променлива облачност, възможни валежи от дъжд с гръмотевици\" /> </a> <a href=\"https://www.sinoptik.bg/sunny-beach-bulgaria-106355005\" class=\"resortsRow\" title=\"Виж прогноза за времето в Слънчев бряг\"> <span class=\"resortName\">Слънчев бряг</span> <span class=\"resortTemp\">15&deg; | <span>24&deg;</span></span> <img src=\"https://m5.netinfo.bg/sinoptik/icons/tiny/d000.png\" alt=\"Слънчево\" width=\"35\" height=\"33\" class=\"resortCondImg\" title=\"Слънчево\" /> </a> </div> </div> <div class=\"rightBottomBanner\" style=\"margin-bottom: 20px;\"> <div id=\"div-gpt-ad-1526903420347-5\"></div> </div> <!-- /157018629/Sinoptik.bg/Desktop/All_pages/Rectangle/BTF2 --> <div id='div-gpt-ad-1526903420347-6'> </div> <div class=\"vestiNews\"> <h2><a href=\"https://gong.bg\" target=\"blank\">Новини от Gong.bg</a></h2> <div class=\"vestiContent\"> <div class=\"vestiRow\"> <a href=\"https://gong.bg/bg-football/drugi/ludogorec-organizira-iunosheskiia-turnir-vivacomcup-za-treta-poredna-godina-545283\" target=\"blank\" class=\"imgLink vestiLink\" rel=\"1\"> <img src=\"https://m4.netinfo.bg/media/images/38372/38372855/50-50-ludogorec.jpg\" width=\"50\" height=\"50\"/> </a> <h3> <a href=\"https://gong.bg/bg-football/drugi/ludogorec-organizira-iunosheskiia-turnir-vivacomcup-za-treta-poredna-godina-545283\" target=\"blank\" class=\"vestiLink\" rel=\"1\">Лудогорец организира юношеския турнир VIVACOMCUP за трета поредна година</a> </h3> <div class=\"commSeen\"> <span>Преди 3 минути</span> <span class=\"sep\">|</span> <a href=\"https://gong.bg/bg-football/drugi/ludogorec-organizira-iunosheskiia-turnir-vivacomcup-za-treta-poredna-godina-545283\" target=\"blank\" class=\"seenImg vestiLink\" rel=\"1\"></a> <span class=\"commSeen\">0</span> </div> </div> <div class=\"vestiRow\"> <a href=\"https://gong.bg/tenis/bg-tenis/multimedia/gallery/yellow/daily-mail-opita-da-sybere-otnovo-grigor-i-shercinger-545282\" target=\"blank\" class=\"imgLink vestiLink\" rel=\"2\"> <img src=\"https://m4.netinfo.bg/media/images/38372/38372839/50-50-nikol-shercinger.jpg\" width=\"50\" height=\"50\"/> </a> <h3> <a href=\"https://gong.bg/tenis/bg-tenis/multimedia/gallery/yellow/daily-mail-opita-da-sybere-otnovo-grigor-i-shercinger-545282\" target=\"blank\" class=\"vestiLink\" rel=\"2\">Daily Mail опита да събере отново Григор и Шерцингер</a> </h3> <div class=\"commSeen\"> <span>Преди 7 минути</span> <span class=\"sep\">|</span> <a href=\"https://gong.bg/tenis/bg-tenis/multimedia/gallery/yellow/daily-mail-opita-da-sybere-otnovo-grigor-i-shercinger-545282\" target=\"blank\" class=\"seenImg vestiLink\" rel=\"2\"></a> <span class=\"commSeen\">27</span> </div> </div> <div class=\"vestiRow\"> <a href=\"https://gong.bg/bg-football/parva-liga/multimedia/video/penev-ako-vsichki-bydem-ucheni-koj-shte-byde-direktoryt-545281\" target=\"blank\" class=\"imgLink vestiLink\" rel=\"3\"> <img src=\"https://m5.netinfo.bg/media/images/38372/38372835/50-50-pyrvaliga-bgfutbol.jpg\" width=\"50\" height=\"50\"/> </a> <h3> <a href=\"https://gong.bg/bg-football/parva-liga/multimedia/video/penev-ako-vsichki-bydem-ucheni-koj-shte-byde-direktoryt-545281\" target=\"blank\" class=\"vestiLink\" rel=\"3\">Пенев: Ако всички бъдем учени, кой ще бъде директорът?</a> </h3> <div class=\"commSeen\"> <span>Преди 15 минути</span> <span class=\"sep\">|</span> <a href=\"https://gong.bg/bg-football/parva-liga/multimedia/video/penev-ako-vsichki-bydem-ucheni-koj-shte-byde-direktoryt-545281\" target=\"blank\" class=\"seenImg vestiLink\" rel=\"3\"></a> <span class=\"commSeen\">73</span> </div> </div> <div class=\"vestiSeeMore\"> <span>виж още:</span> <a href=\"https://gong.bg\" target=\"blank\">Новини</a> <span class=\"sep\">|</span> <a href=\"https://gong.bg/livescore\" target=\"blank\">Livescore</a> </div> </div> </div> <!-- PROMO WIDGET --> <a href=\"https://www.sinoptik.bg/widgets\" class=\"promoWidgetLink\" style=\"display:none\"> <img src=\"https://m.netinfo.bg/sinoptik/images/widgetsPromo.png\" width=\"300\" height=\"203\" alt=\"Прогноза за времето на Вашия сайт\"/> </a> <script type=\"text/javascript\"> $(document).ready(function () { if (($('.mainBlock').height() - $('.rightBlock').height()) > 320) { $('.promoWidgetLink').show(300); } ; }); </script> <!-- PROMO WIDGET --> <div style=\"margin-top: 20px\"> <a href=\"https://www.sinoptik.bg/moon-phase\"> <img src=\"https://m.netinfo.bg/sinoptik/images/moon-phases.jpg\" alt=\"Фаза на луната и лунен календар\"> </a> </div> </div> <!---- BOTTOM BANNER BEGIN -----> <div class=\"bottomBanner\"> <div id=\"banner\"> <!-- /157018629/Sinoptik.bg/Desktop/All_pages/Leaderboard/BTF2 --> <div id='div-gpt-ad-1526903420347-3'> <script> googletag.cmd.push(function() { googletag.display('div-gpt-ad-1526903420347-3'); }); </script> </div> </div> </div> <!---- BOTTOM BANNER END -----> </div> <!---- CONTAINER END -----> <!---- FOOTER BEGIN -----> <footer> <div class=\"niSitesBlock\"> <div class=\"niSites\"> <span class=\"niSiteTitle\">Да организирам</span> <div> <a href=\"https://www.abv.bg/\" target=\"_blank\">АБВ Поща</a><br/> <a href=\"https://ndox.abv.bg/\" target=\"_blank\">DOX</a><br/> <a href=\"https://apps.abv.bg/\" target=\"_blank\">АБВ на твой домейн</a> </div> </div> <div class=\"niSites\"> <span class=\"niSiteTitle\">Да намирам</span> <div> <a href=\"https://www.gbg.bg/\" target=\"_blank\">Гювеч</a><span class=\"sep\">|</span> <a href=\"https://broshura.bg\" target=\"_blank\">Брошури</a><br/> <a href=\"https://www.sravni.bg/\" target=\"_blank\">Сравни</a><br/> <a href=\"https://www.carmarket.bg/\" target=\"_blank\">Автомобили</a> </div> </div> <div class=\"niSites\"> <span class=\"niSiteTitle\">Да се информирам</span> <div> <a href=\"https://www.vesti.bg/\" target=\"_blank\">Новини</a><span class=\"sep\">|</span> <a href=\"https://gong.bg/\" target=\"_blank\">Спорт</a><br/> <a href=\"https://www.pariteni.bg/\" target=\"_blank\">Пари</a><span class=\"sep\">|</span> <a href=\"https://www.sinoptik.bg/\" target=\"_blank\">Времето</a><br/> <a href=\"https://www.edna.bg/\" target=\"_blank\">За жените</a> </div> </div> <div class=\"niSites\"> <span class=\"niSiteTitle\">Да се забавлявам</span> <div> <a href=\"https://www.vbox7.com/\" target=\"_blank\">Видео</a><span class=\"sep\">|</span> <a href=\"https://www.vgames.bg/\" target=\"_blank\">Игри</a><br/> <a href=\"http://www.vmusic.bg/\" target=\"_blank\">Музика</a><br/> <a href=\"https://www.vcards.bg/\" target=\"_blank\">Картички</a> </div> </div> </div> <div class=\"niLinks\"> <ul class=\"clearfix\"> <li><a href=\"http://www.netinfocompany.bg/media-kit/sinoptikbg-78\" target=\"_blank\">За реклама</a><span class=\"sep\">|</span></li> <li><a href=\"https://adwise.bg/\" target=\"_blank\">Реклама на клик</a></li> </ul> <ul class=\"clearfix\"> <li><a href=\"http://info.netinfocompany.bg/about-company\" target=\"_blank\">За нас</a><span class=\"sep\">|</span></li> <li><a href=\"http://info.netinfocompany.bg/portfolio\" target=\"_blank\">Портфолио</a><span class=\"sep\">|</span></li> <li><a href=\"http://info.netinfocompany.bg/contacts/?s=sinoptik\" target=\"_blank\">Пишете ни</a><span class=\"sep\">|</span></li> <li><a href=\"http://www.sinoptik.bg/sinoptik-terms.pdf\" target=\"_blank\">Общи условия</a><span class=\"sep\">|</span></li> <li><a href=\"https://www.netinfocompany.bg/gdpr/\" target=\"_blank\">Поверителност</a><span class=\"sep\">|</span></li> <li><a href=\"http://foreca.com/\" target=\"_blank\" rel=\"nofollow\">Времето от <span><img src=\"https://m.netinfo.bg/sinoptik/images/foreca.png\" alt=\"Foreca\" width=\"50\" height=\"12\"/></span></a></li> </ul> <div class=\"copyRes\"> <!--11111113333333--> <span class=\"copyright\">© 1998-2019 Нет Инфо АД.</span> <a href=\"http://www.netinfocompany.bg/privacy\" target=\"_blank\" class=\"allrightsres\">Всички права запазени</a> </div> </div> <!-- Opoznai.bg --> <script type=\"text/javascript\"> setTimeout(function(){ var params = { city: \"Sofia\", // Дестинация hometown: \"0\", // 1|0 - дали потребителят е от този град или не count: \"https://a.abv.bg/www/delivery/ck.php?oaparams=2__bannerid=176933__zoneid=63__oadest=\" // Брояч за кликове, евентуално }; var src = \"https://b.grabo.bg/netinfo/special/sinoptik_640x85.php?affid=20493\"; for(var p in params) { src += \"&\"+p+\"=\"+encodeURIComponent(params[p]); } var scr = document.createElement(\"SCRIPT\"); scr.type = \"text/javascript\"; scr.src = src; scr.setAttribute(\"async\",true); $(document.body).append(scr); },10); </script> <script> $.ajax({ type: 'GET', url: 'https://graph.facebook.com/https://www.sinoptik.bg/sofia-bulgaria-100727011/5-days', success: function (data) { showCount(data); } }); function showCount(responseText) { // Save the parsed JSON var json = responseText; var count = parseInt(json.share.share_count); // Check if the response contains a 'shares' property // If it doesn't, we can just exit this function if (count < 1) count = -1; if (parseInt(count) > 0) { $('.facebookShareNumber').text(count); } } </script> </footer> <!---- FOOTER END -----> </div> <script> $(document).ready(function () { $('.mvr-messages span').on('click', function () { SetCookie($(this).attr('id'), true, 30, '/', '.sinoptik.bg'); $(this).parents('li').hide(); }); }); </script> <!-- (C)2000-2018 Gemius SA - gemiusPrism / sinoptik.bg/ --> <script type=\"text/javascript\"> <!--//--><![CDATA[//><!-- var pp_gemius_identifier = 'nc.g8ndtY7Ruzjtc5fAQzPTYzUTF2I8wg98LHhFDE9j.w7'; //gemius consent // lines below shouldn't be edited function gemius_pending(i) { window[i] = window[i] || function () { var x = window[i + '_pdata'] = window[i + '_pdata'] || []; x[x.length] = arguments; }; };gemius_pending('gemius_hit'); gemius_pending('gemius_event'); gemius_pending('pp_gemius_hit'); gemius_pending('pp_gemius_event'); (function (d, t) { try { var gt = d.createElement(t), s = d.getElementsByTagName(t)[0], l = 'http' + ((location.protocol == 'https:') ? 's' : ''); gt.setAttribute('async', 'async'); gt.setAttribute('defer', 'defer'); gt.src = l + '://gabg.hit.gemius.pl/xgemius.js'; s.parentNode.insertBefore(gt, s); } catch (e) { } })(document, 'script'); //--><!]]> </script> <!--/157018629/Sinoptik.bg/Desktop/All_pages/Hidden/RichMedia--> <div id=\"div-gpt-ad-1526903420347-0\"></div> </body> </html> "; // result will be an iterator over tuples containing the start and end indices for each match in the string let result = regex.captures_iter(string); for mat in result { println!("{:?}", mat); } }

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 Rust, please visit: https://docs.rs/regex/latest/regex/