Regular Expressions 101

Save & Share

  • Regex Version: ver. 1
  • 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 = '/<a[^>]+href\s?=\s?"([^"]+)"[^>]?>/m'; $str = ' <!DOCTYPE html> <html itemscope itemtype="http://schema.org/QAPage" class="html__responsive"> <head> <title>.net - C# - How to get data from mywebsearch(Search Engine) - Stack Overflow</title> <link rel="shortcut icon" href="https://cdn.sstatic.net/Sites/stackoverflow/img/favicon.ico?v=4f32ecc8f43d"> <link rel="apple-touch-icon image_src" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a"> <link rel="search" type="application/opensearchdescription+xml" title="Stack Overflow" href="/opensearch.xml"> <meta name="referrer" content="origin" /> <meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0"> <meta property="og:type" content= "website" /> <meta property="og:url" content="https://stackoverflow.com/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine"/> <meta property="og:site_name" content="Stack Overflow" /> <meta property="og:image" itemprop="image primaryImageOfPage" content="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon@2.png?v=73d79a89bded" /> <meta name="twitter:card" content="summary"/> <meta name="twitter:domain" content="stackoverflow.com"/> <meta name="twitter:title" property="og:title" itemprop="title name" content="C# - How to get data from mywebsearch(Search Engine)" /> <meta name="twitter:description" property="og:description" itemprop="description" content="I have been trying to make a tool that I enter keyword and it will automatically do this: int.search.mywebsearch.com/mywebsearch/GGweb.jhtml?searchfor=Keyword then ---&amp;gt; Scrape all the urls in the " /> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script> <script src="https://cdn.sstatic.net/Js/stub.en.js?v=25ae1d4bcf1b"></script> <link rel="stylesheet" type="text/css" href="https://cdn.sstatic.net/Shared/stacks.css?v=a35f1fd52a5c"> <link rel="stylesheet" type="text/css" href="https://cdn.sstatic.net/Sites/stackoverflow/primary-unified.css?v=50d3d2b43ea6"> <link rel="alternate" type="application/atom+xml" title="Feed for question &#39;C# - How to get data from mywebsearch(Search Engine)&#39;" href="/feeds/question/52339951"> <meta name="twitter:app:country" content="US" /> <meta name="twitter:app:name:iphone" content="Stack Exchange iOS" /> <meta name="twitter:app:id:iphone" content="871299723" /> <meta name="twitter:app:url:iphone" content="se-zaphod://stackoverflow.com/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine" /> <meta name="twitter:app:name:ipad" content="Stack Exchange iOS" /> <meta name="twitter:app:id:ipad" content="871299723" /> <meta name="twitter:app:url:ipad" content="se-zaphod://stackoverflow.com/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine" /> <meta name="twitter:app:name:googleplay" content="Stack Exchange Android"> <meta name="twitter:app:url:googleplay" content="http://stackoverflow.com/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine"> <meta name="twitter:app:id:googleplay" content="com.stackexchange.marvin"> <script> StackExchange.ready(function () { StackExchange.using("snippets", function () { StackExchange.snippets.initSnippetRenderer(); }); StackExchange.using("postValidation", function () { StackExchange.postValidation.initOnBlurAndSubmit($(\'#post-form\'), 2, \'answer\'); }); StackExchange.question.init({votesCast:[],canViewVoteCounts:true,totalCommentCount:3,shownCommentCount:3,highlightColor:\'#F4A83D\',backgroundColor:\'#FFF\',questionId:52339951}); styleCode(); StackExchange.realtime.subscribeToQuestion(\'1\', \'52339951\'); StackExchange.using("gps", function () { StackExchange.gps.trackOutboundClicks(\'#content\', \'.post-text\'); }); }); </script> <script> StackExchange.ready(function () { StackExchange.realtime.init(\'wss://qa.sockets.stackexchange.com\'); StackExchange.realtime.subscribeToReputationNotifications(\'1\'); StackExchange.realtime.subscribeToTopBarNotifications(\'1\'); }); </script> <script> StackExchange.init({"locale":"en","serverTime":1536967391,"routeName":"Questions/Show","stackAuthUrl":"https://stackauth.com","networkMetaHostname":"meta.stackexchange.com","site":{"name":"Stack Overflow","description":"Q&A for professional and enthusiast programmers","isNoticesTabEnabled":true,"enableNewTagCreationWarning":true,"insertSpaceAfterNameTabCompletion":false,"id":1,"childUrl":"https://meta.stackoverflow.com","enableSocialMediaInSharePopup":true,"protocol":"https"},"user":{"fkey":"1dc4e3c1a03705cdc7235544e642d8399f8f0a7355918409a2019c2147f61d7b","tid":"32af7c93-217d-eb6e-15ac-a5db719e7425","rep":14999,"isRegistered":true,"userType":3,"userId":1079221,"accountId":1082680,"gravatar":"<div class=\\"gravatar-wrapper-32\\"><img src=\\"https://i.stack.imgur.com/wFi75.jpg?s=32&amp;g=1\\" alt=\\"\\" width=\\"32\\" height=\\"32\\"></div>","profileUrl":"https://stackoverflow.com/users/1079221/ashkan-mobayen-khiabani","canSeeDeletedPosts":true},"realtime":{"newest":false,"active":false,"tagged":true,"staleDisconnectIntervalInHours":0,"workerIframeDomain":"https://cdn.sstatic.net"},"events":{"postType":{"question":1},"postEditionSection":{"title":1,"body":2,"tags":3}},"story":{"minCompleteBodyLength":75,"likedTagsMaxLength":300,"dislikedTagsMaxLength":300},"jobPreferences":{"maxNumDeveloperRoles":2,"maxNumIndustries":4},"svgIconPath":"https://cdn.sstatic.net/Img/svg-icons","svgIconHash":"0f0fc5e90a6d"}, {"site":{"allowImageUploads":true,"enableUserHovercards":true,"styleCode":true,"enableImgurHttps":true,"forceHttpsImages":true,"stacksValidation":true},"userMessaging":{"showNewFeatureNotice":true},"comments":{},"userProfile":{"openGraphAPIKey":"58740831ad23540e00c58987"},"tags":{},"accounts":{"currentPasswordRequiredForChangingStackIdPassword":true},"flags":{"allowRetractingFlags":true},"snippets":{"snippetsEnabled":true,"renderDomain":"stacksnippets.net"},"paths":{},"markdown":{"asteriskIntraWordEmphasis":true},"monitoring":{"clientTimingsAbsoluteTimeout":30000,"clientTimingsDebounceTimeout":1000},"mentions":{"maxNumUsersInDropdown":50},"slack":{"sidebarAdDismissCookie":"slack-sidebar-ad"}}); StackExchange.using.setCacheBreakers({"js/prettify-full.en.js":"dc19ab45dfbe","js/moderator.en.js":"f145126b2080","js/full-anon.en.js":"be1433ae071b","js/full.en.js":"c68ecf668777","js/wmd.en.js":"7158443430ea","js/mobile.en.js":"0530e6d963ab","js/help.en.js":"7ace4aa371d4","js/tageditor.en.js":"6242abffb05f","js/tageditornew.en.js":"b8c355faf607","js/inline-tag-editing.en.js":"4979f71c48cc","js/revisions.en.js":"db5a160e1690","js/review.en.js":"8e957a495afe","js/tagsuggestions.en.js":"78eee7c19ab2","js/post-validation.en.js":"4513af8ed4cf","js/explore-qlist.en.js":"e2a8178eb759","js/events.en.js":"26189330c1ad","js/keyboard-shortcuts.en.js":"30801eb3e075","js/external-editor.en.js":"a576414bcfed","js/adops.en.js":"22a9bd59b1e9","js/external-editor.en.js":"a576414bcfed","js/snippet-javascript.en.js":"30bca558e032","js/snippet-javascript-codemirror.en.js":"d3583910a7e8"}); StackExchange.using("gps", function() { StackExchange.gps.init(true); }); </script> <noscript id="noscript-css"><style>body,.top-bar{margin-top:1.9em}</style></noscript> </head> <body class="question-page unified-theme new-topbar"> <div id="notify-container"></div> <div id="custom-header"></div> <header class="top-bar js-top-bar _fixed top-bar__network"> <div class="-container"> <div class="-main"> <a href="#" class="left-sidebar-toggle p0 ai-center jc-center js-left-sidebar-toggle"><span class="ps-relative"></span></a> <a href="https://stackoverflow.com" class="-logo js-gps-track" data-gps-track="top_nav.click({is_current:false, location:2, destination:8})"> <span class="-img _glyph">Stack Overflow</span> </a> </div> <form id="search" action=/search method="get" class="searchbar js-searchbar " autocomplete="off" role="search"> <div class="ps-relative"> <input name="q" type="text" placeholder="Search…" value="" autocomplete="off" maxlength="240" class="f-input js-search-field " /> <button type="submit" aria-label="Search..." class="s-btn s-btn__primary btn-topbar-primary js-search-submit"><svg aria-hidden="true" class="svg-icon mx0 iconSearch" width="18" height="18" viewBox="0 0 18 18"><path d="M12.86 11.32L18 16.5 16.5 18l-5.18-5.14v-.35a7 7 0 1 1 1.19-1.19h.35zM7 12A5 5 0 1 0 7 2a5 5 0 0 0 0 10z"/></svg></button> </div> </form> <ol class="-secondary js-secondary-topbar-links drop-icons-responsively"> <li class="-item searchbar-trigger js-searchbar-trigger"><a href="#" class="-link"><svg aria-hidden="true" class="svg-icon iconSearch" width="18" height="18" viewBox="0 0 18 18"><path d="M12.86 11.32L18 16.5 16.5 18l-5.18-5.14v-.35a7 7 0 1 1 1.19-1.19h.35zM7 12A5 5 0 1 0 7 2a5 5 0 0 0 0 10z"/></svg></a></li> <li class="-item"> <a href="/users/1079221/ashkan-mobayen-khiabani" class="my-profile js-gps-track" data-gps-track="profile_summary.click()"> <div class="gravatar-wrapper-24" title="Ashkan Mobayen Khiabani"><img src="https://i.stack.imgur.com/wFi75.jpg?s=48&amp;g=1" alt="" width="24" height="24" class="-avatar js-avatar-me"></div> <div class="-rep js-header-rep" title="your reputation: 14,999">14,999</div> <div class="-badges"> <span title="15 gold badges"><span class="badge1">&#9679;</span><span class="badgecount">15</span></span><span title="62 silver badges"><span class="badge2">&#9679;</span><span class="badgecount">62</span></span><span title="108 bronze badges"><span class="badge3">&#9679;</span><span class="badgecount">108</span></span> </div> </a> </li> <li class="-item"> <a href="https://stackexchange.com/users/1082680?tab=inbox" class="-link js-inbox-button" title="Recent inbox messages"> <svg aria-hidden="true" class="svg-icon iconInbox" width="20" height="18" viewBox="0 0 20 18"><path d="M15.19 1H4.63c-.85 0-1.6.54-1.85 1.35L0 10.79V15c0 1.1.9 2 2 2h16a2 2 0 0 0 2-2v-4.21l-2.87-8.44A2 2 0 0 0 15.19 1zm-.28 10l-2 2h-6l-2-2H1.96L4.4 3.68A1 1 0 0 1 5.35 3h9.12a1 1 0 0 1 .95.68L17.86 11h-2.95z"/></svg> <span class="indicator-badge js-unread-count _important" style="display: none;"></span> </a> </li> <li class="-item"> <a href="https://stackexchange.com/users/1082680?tab=reputation" class="-link js-achievements-button" title="Recent achievements: reputation, badges, and privileges earned" data-unread-class="_highlighted-positive"> <svg aria-hidden="true" class="svg-icon iconAchievements" width="18" height="18" viewBox="0 0 18 18"><path d="M15 2V1H3v1H0v4c0 1.6 1.4 3 3 3v1c.4 1.5 3 2.6 5 3v2H5s-1 1.5-1 2h10c0-.4-1-2-1-2h-3v-2c2-.4 4.6-1.5 5-3V9c1.6-.2 3-1.4 3-3V2h-3zM3 7c-.5 0-1-.5-1-1V4h1v3zm8.4 2.5L9 8 6.6 9.4l1-2.7L5 5h3l1-2.7L10 5h2.8l-2.3 1.8 1 2.7h-.1zM16 6c0 .5-.5 1-1 1V4h1v2z"/></svg> <span class="indicator-badge js-unread-count _positive" style="display: none;"></span> </a> </li> <li class="-item review-button-item" data-remove-order="2"> <a href="/review" class="-link js-gps-track js-review-button" title="Review queues - help improve the site" data-gps-track="review_popup.click({ in_danger: false })"> <svg aria-hidden="true" class="svg-icon iconReviewQueue" width="18" height="18" viewBox="0 0 18 18"><path d="M16 7.5l-5 4.97-1.79-1.77a1 1 0 0 0-1.4 0l-2.1 2.1a1 1 0 0 0 0 1.4L8.5 17H2a2 2 0 0 1-2-2V3c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v4.5zM12 7H2v2h10V7zm2-4H2v2h12V3zM2 11v2h3v-2H2zm16-.5l-7 7-4-4L8.5 12l2.5 2.5L16.5 9l1.5 1.5z"/></svg> </a> </li> <li class="-item help-button-item" data-remove-order="1"><a href="#" class="-link js-help-button" title="Help Center and other resources"> <svg aria-hidden="true" class="svg-icon iconHelp" width="18" height="18" viewBox="0 0 18 18"><path d="M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zm.81 12.13c-.02.71-.55 1.15-1.24 1.13-.66-.02-1.17-.49-1.15-1.2.02-.72.56-1.18 1.22-1.16.7.03 1.2.51 1.17 1.23zM11.77 8a5.8 5.8 0 0 1-1.02.91l-.53.37c-.26.2-.42.43-.5.69a4 4 0 0 0-.09.75c0 .05-.03.16-.18.16H7.88c-.16 0-.18-.1-.18-.15.03-.66.12-1.21.4-1.66a5.29 5.29 0 0 1 1.43-1.22c.16-.12.28-.25.38-.39a1.34 1.34 0 0 0 .02-1.71c-.24-.31-.51-.46-1.03-.46-.51 0-.8.26-1.02.6-.21.33-.18.73-.18 1.1H5.75c0-1.38.35-2.25 1.1-2.76.52-.35 1.17-.5 1.93-.5 1 0 1.79.18 2.49.71.64.5.98 1.18.98 2.12 0 .57-.2 1.05-.48 1.44z"/></svg> </a></li> <li class="-item"> <a href="https://stackexchange.com" class="-link js-site-switcher-button js-gps-track" data-gps-track="site_switcher.show" title="A list of all 174 Stack Exchange sites"> <svg aria-hidden="true" class="svg-icon iconStackExchange" width="18" height="18" viewBox="0 0 18 18"><path d="M1 13c0 1.1.9 2 2 2h8v3l3-3h1a2 2 0 0 0 2-2v-2H1v2zM15 1H3a2 2 0 0 0-2 2v2h16V3a2 2 0 0 0-2-2zM1 6h16v4H1V6z"/></svg> </a> </li> <li class="-dialog-container js-topbar-dialog-corral"> <div class="topbar-dialog siteSwitcher-dialog dno"> <div class="header"> <h3><a href="https://stackoverflow.com">current community</a> </h3> </div> <div class="modal-content current-site-container"> <ul class="current-site"> <li class="grid"> <div class="fl1"> <a href="https://stackoverflow.com" class="current-site-link site-link js-gps-track grid gs8 gsx" data-id="1" data-gps-track="site_switcher.click({ item_type:3 })"> <div class="favicon favicon-stackoverflow site-icon grid--cell" title="Stack Overflow"></div> <span class="grid--cell fl1"> Stack Overflow </span> </a> </div> <div class="related-links"> <a href="https://stackoverflow.com/help" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:14 })" >help</a> <a href="https://chat.stackoverflow.com" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:6 })" >chat</a> <a href="https://stackoverflow.com/users/logout" class="js-gps-track" data-gps-track="site_switcher.click({ item_type:8 })" >log out</a> </div> </li> <li class="related-site grid"> <div class="L-shaped-icon-container"> <span class="L-shaped-icon"></span> </div> <a href="https://meta.stackoverflow.com" class="site-link js-gps-track grid gs8 gsx" data-id="552" data-gps-track="site.switch({ target_site:552, item_type:3 }),site_switcher.click({ item_type:4 })"> <div class="favicon favicon-stackoverflowmeta site-icon grid--cell" title="Meta Stack Overflow"></div> <span class="grid--cell fl1"> Meta Stack Overflow </span> </a> </li> </ul> </div> <div class="header" id="your-communities-header"> <h3> <a href="https://stackexchange.com/users/1082680/?tab=accounts">your communities</a> </h3> <a href="#" id="edit-pinned-sites">edit</a> <a href="#" id="cancel-pinned-sites" style="display: none;">cancel</a> </div> <div class="modal-content" id="your-communities-section"> <ul class="my-sites"> <li> <a href="https://stackoverflow.com" class="site-link js-gps-track grid gs8 gsx" data-id="1" data-gps-track="site.switch({ target_site:1, item_type:3 }),site_switcher.click({ item_type:1 })"> <div class="favicon favicon-stackoverflow site-icon grid--cell" title="Stack Overflow"></div> <span class="grid--cell fl1"> Stack Overflow </span> <span class="rep-score grid--cell">14,999</span> </a> </li> <li> <a href="https://webmasters.stackexchange.com" class="site-link js-gps-track grid gs8 gsx" data-id="45" data-gps-track="site.switch({ target_site:45, item_type:3 }),site_switcher.click({ item_type:1 })"> <div class="favicon favicon-webmasters site-icon grid--cell" title="Webmasters"></div> <span class="grid--cell fl1"> Webmasters </span> <span class="rep-score grid--cell">304</span> </a> </li> <li> <a href="https://meta.stackexchange.com" class="site-link js-gps-track grid gs8 gsx" data-id="4" data-gps-track="site.switch({ target_site:4, item_type:3 }),site_switcher.click({ item_type:1 })"> <div class="favicon favicon-stackexchangemeta site-icon grid--cell" title="Meta Stack Exchange"></div> <span class="grid--cell fl1"> Meta Stack Exchange </span> <span class="rep-score grid--cell">226</span> </a> </li> <li> <a href="https://ell.stackexchange.com" class="site-link js-gps-track grid gs8 gsx" data-id="481" data-gps-track="site.switch({ target_site:481, item_type:3 }),site_switcher.click({ item_type:1 })"> <div class="favicon favicon-ell site-icon grid--cell" title="English Language Learners"></div> <span class="grid--cell fl1"> English Language Learners </span> <span class="rep-score grid--cell">188</span> </a> </li> <li> <a href="https://askubuntu.com" class="site-link js-gps-track grid gs8 gsx" data-id="89" data-gps-track="site.switch({ target_site:89, item_type:3 }),site_switcher.click({ item_type:1 })"> <div class="favicon favicon-askubuntu site-icon grid--cell" title="Ask Ubuntu"></div> <span class="grid--cell fl1"> Ask Ubuntu </span> <span class="rep-score grid--cell">123</span> </a> </li> </ul> <div class="pinned-site-editor-container" style="display: none;"> <input type="hidden" name="fkey" value="1dc4e3c1a03705cdc7235544e642d8399f8f0a7355918409a2019c2147f61d7b"> <input id="js-site-search-txt" type="text" class="site-filter-input" value="" placeholder="Add a Stack Exchange community"/> <input type="submit" id="pin-site-btn" value="Add" disabled="disabled"/> <ul class="js-found-sites found-sites"></ul> <ul class="pinned-site-list sortable" data-custom-list="False"> </ul> <input type="submit" value="Save" id="save-pinned-sites-btn" disabled="disabled"/> <a href="#" id="reset-pinned-sites">reset to default list</a> </div> </div> <div class="header"> <h3><a href="https://stackexchange.com/sites">more stack exchange communities</a> </h3> <a href="https://stackoverflow.blog" class="fr">company blog</a> </div> <div class="modal-content"> <div class="child-content"></div> </div> </div> <div class="topbar-dialog help-dialog js-help-dialog dno"> <div class="modal-content"> <ul> <li> <a href="/tour" class="js-gps-track" data-gps-track="help_popup.click({ item_type:1 })"> Tour <span class="item-summary"> Start here for a quick overview of the site </span> </a> </li> <li> <a href="/help" class="js-gps-track" data-gps-track="help_popup.click({ item_type:4 })"> Help Center <span class="item-summary"> Detailed answers to any questions you might have </span> </a> </li> <li> <a href="https://meta.stackoverflow.com" class="js-gps-track" data-gps-track="help_popup.click({ item_type:2 })"> Meta <span class="item-summary"> Discuss the workings and policies of this site </span> </a> </li> <li> <a href="https://stackoverflow.com/company/about" class="js-gps-track" data-gps-track="help_popup.click({ item_type:6 })"> About Us <span class="item-summary"> Learn more about Stack Overflow the company </span> </a> </li> <li> <a href="https://www.stackoverflowbusiness.com/?ref=topbar_help" class="js-gps-track" data-gps-track="help_popup.click({ item_type:7 })"> Business <span class="item-summary"> Learn more about hiring developers or posting ads with us </span> </a> </li> </ul> </div> </div> <div class="topbar-dialog leftnav-dialog js-leftnav-dialog dno"> <div class="left-sidebar js-unpinned-left-sidebar" data-can-be="left-sidebar" data-is-here-when="sm"></div> </div> </li> </ol> </div> </header> <script> StackExchange.ready(function () { StackExchange.topbar.init({ observeSize: true }); }); StackExchange.scrollPadding.setPaddingTop(50, 10); </script> <div class="container "> <div id="left-sidebar" data-is-here-when="md lg" class="left-sidebar js-pinned-left-sidebar"> <div class="left-sidebar--sticky-container js-sticky-leftnav"> <nav role="navigation"> <ol class="nav-links"> <li> <li> <a href="/" class="pl8 js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current:false, location:2, destination:8})"> Home </a> </li> </li> <li> <ol class="nav-links"> <li class="fs-fine tt-uppercase ml8 mt16 mb4 fc-light">Public</li> <li class=" youarehere"> <a id="nav-questions" href="/questions" class="pl8 js-gps-track nav-links--link -link__with-icon" data-gps-track="top_nav.click({is_current:true, location:2, destination:1})"> <svg aria-hidden="true" class="svg-icon iconGlobe" width="18" height="18" viewBox="0 0 18 18"><path d="M9 1a8 8 0 1 0 0 16A8 8 0 0 0 9 1zM8 15.32a6.4 6.4 0 0 1-5.23-7.75L7 11.68v.8c0 .88.12 1.32 1 1.32v1.52zm5.72-2c-.2-.66-1-1.32-1.72-1.32h-1v-2c0-.44-.56-1-1-1H6V7h1c.44 0 1-.56 1-1V5h2c.88 0 1.4-.72 1.4-1.6v-.33a6.4 6.4 0 0 1 2.32 10.24z"/></svg> <span class="-link--channel-name">Stack Overflow</span> </a> </li> <li> <a id="nav-tags" href="/tags" class=" js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current:false, location:2, destination:2})"> Tags </a> </li> <li> <a id="nav-users" href="/users" class=" js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current:false, location:2, destination:3})"> Users </a> </li> <li> <a id="nav-jobs" href="/jobs?med=site-ui&amp;ref=jobs-tab" class=" js-gps-track nav-links--link" data-gps-track="top_nav.click({is_current:false, location:2, destination:6})"> Jobs </a> </li> </ol> </li> <li> <ol class="nav-links"> <li class="p6"> <div class="ba bc-black-2 bar-sm p16 grid fd-column ps-relative overflow-hidden"> <strong class="grid--cell">Teams</strong> <span class="grid--cell mt2 fs-caption fc-medium">Q&amp;A for work </span> <a href="https://stackoverflow.com/teams" class="js-gps-track s-btn s-btn__outlined ta-center grid--cell mt12" data-gps-track="teams.create.left-sidenav.click" data-ga="[&quot;teams traffic&quot;,&quot;left nav cta&quot;,&quot;stackoverflow.com/teams&quot;,null,{&quot;dimension4&quot;:&quot;teams&quot;}]"> Learn More </a> <div class="ps-absolute t4 rn6"> <svg width="53" height="49" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M49 11l.2 31H18.9L9 49v-7H4V8h31" fill="#CCEAFF" /><path d="M44.5 19v-.3l-.2-.1-18-13-.1-.1H.5v33h4V46l.8-.6 9.9-6.9h29.3V19z" stroke="#1060E1" stroke-miterlimit="10" /><path d="M31 2l6-1.5 7 2V38H14.9L5 45v-7H1V6h25l5-4z" fill="#fff" /><path d="M7 16.5h13m-13 6h14m-14 6h18" stroke="#1060E1" stroke-miterlimit="10" /><path d="M39 30a14 14 0 1 0 0-28 14 14 0 0 0 0 28z" fill="#FFB935" /><path d="M50.5 14a13.5 13.5 0 1 1-27 0 13.5 13.5 0 0 1 27 0z" stroke="#F48024" stroke-miterlimit="10" /><path d="M32.5 21.5v-8h9v8h-9zm2-9.5V9.3A2.5 2.5 0 0 1 37 6.8a2.5 2.5 0 0 1 2.5 2.5V12h-5zm2 3v2m1-2v2" stroke="#fff" stroke-miterlimit="10" /></svg> </div> </div> </li> </ol> </li> </ol> </nav> </div> </div> <div id="content" class="snippet-hidden"> <div itemscope itemtype="http://schema.org/Question"> <link itemprop="image" href="https://cdn.sstatic.net/Sites/stackoverflow/img/apple-touch-icon.png?v=c78bd457575a"> <div class="inner-content clearfix"> <div id="question-header" class="grid"> <h1 itemprop="name" class="grid--cell fs-headline1 fl1"><a href="/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine" class="question-hyperlink">C# - How to get data from mywebsearch(Search Engine)</a></h1> <div class="pl8 aside-cta grid--cell" role="navigation" aria-label="ask new question"> <a href="/questions/ask" class="d-inline-flex ai-center ws-nowrap s-btn s-btn__primary" >Ask Question</a> </div> </div> <div id="mainbar" role="main" aria-label="question and answers"> <div class="question" data-questionid="52339951" id="question"> <div class="post-layout"> <div class="votecell post-layout--left"> <div class="vote"> <input type="hidden" name="_id_" value="52339951"> <a class="vote-up-off" title="This question shows research effort; it is useful and clear (click again to undo)">up vote</a> <span itemprop="upvoteCount" class="vote-count-post ">1</span> <a class="vote-down-off" title="This question does not show any research effort; it is unclear or not useful (click again to undo)">down vote</a> <a class="star-off" href="#">favorite</a> <div class="favoritecount"><b></b></div> </div> </div> <div class="postcell post-layout--right"> <div class="post-text" itemprop="text"> <p>I have been trying to make a tool that I enter keyword and it will automatically do this:</p> <pre><code>int.search.mywebsearch.com/mywebsearch/GGweb.jhtml?searchfor=Keyword then ---&gt; Scrape all the urls in the page </code></pre> <p>however, when I go to regexxr or regex101, it seems like the urls not there and I can\'t use regular expression to get it. How can I scrape something that using WebClient.downloadstring(url) can\'t download</p> <p>Code:</p> <pre><code>WebClient wc = new WebClient(); foreach(string s in Keywords) { string url = wc.DownloadString("https://int.search.mywebsearch.com/mywebsearch/GGmain.jhtml?&amp;searchfor=" + s); MatchCollection mc = Regex.Matches(url, @""); // Didn\'t write any regex yet } </code></pre> </div> <div class="post-taglist grid gs4 gsy fd-column"> <div class="grid ps-relative"> <a href="/questions/tagged/c%23" class="post-tag" title="show questions tagged &#39;c#&#39;" rel="tag">c#</a> <a href="/questions/tagged/.net" class="post-tag" title="show questions tagged &#39;.net&#39;" rel="tag">.net</a> <a href="/questions/tagged/web" class="post-tag" title="show questions tagged &#39;web&#39;" rel="tag">web</a> </div> </div> <div class="mb0 "> <div class="mt16 pt4 grid gs8 gsy fw-wrap jc-end ai-start"> <div class="grid--cell mr16" style="flex: 1 1 100px;"> <div class="post-menu"><a href="/q/52339951/1079221" title="short permalink to this question" class="short-link" id="link-post-52339951">share</a><span class="lsep">|</span><a href="/posts/52339951/edit" class="edit-post" title="revise and improve this post">edit</a><span class="lsep">|</span><a href="#" class="close-question-link" title="vote to close this question (when closed, no new answers can be added)" data-questionid="52339951" data-isclosed="false">close</a><span class="lsep">|</span><a href="#" class="flag-post-link" title="flag this post for serious problems or moderator attention" data-postid="52339951">flag</a></div> <script> StackExchange.using("inlineTagEditing", function () { StackExchange.inlineTagEditing.init({ editTagsText: "Edit tags" }); }); </script> </div> <div class="post-signature owner grid--cell"> <div class="user-info "> <div class="user-action-time"> asked <span title="2018-09-14 22:33:06Z" class="relativetime">50 mins ago</span> </div> <div class="user-gravatar32"> <a href="/users/10365452/ariel"><div class="gravatar-wrapper-32"><img src="https://www.gravatar.com/avatar/19b8a4d0ac9a49b27f8799e094ea6691?s=32&amp;d=identicon&amp;r=PG&amp;f=1" alt="" width="32" height="32"></div></a> </div> <div class="user-details"> <a href="/users/10365452/ariel">Ariel</a> <div class="-flair"> <span class="reputation-score" title="reputation score " dir="ltr">8</span><span title="3 bronze badges"><span class="badge3"></span><span class="badgecount">3</span></span> </div> </div> </div> <div class="js-new-contributor-indicator ps-relative"> <div class="new-contributor-indicator fc-medium py6 px8 bbr-sm"> <span class="js-new-contributor-label"><svg aria-hidden="true" class="svg-icon iconWave" width="18" height="18" viewBox="0 0 18 18"><path d="M10.7 17c-2.3 0-3.9-2.05-5.07-3.54l-.49-.6c-.67-.8-1.59-1.63-2.4-2.36A10.91 10.91 0 0 1 1.1 8.87a.79.79 0 0 1-.09-.56c.04-.19.14-.34.27-.4.14-.07.29-.1.45-.1.35 0 .67.18.87.34l3.5 2.75c.04.03.1.03.13 0a.09.09 0 0 0 .02-.13l-.02-.02c-.57-.8-3.42-4.77-3.71-5.15-.21-.27-.3-.58-.24-.84.05-.2.2-.37.4-.48.18-.09.35-.13.52-.13.44 0 .76.28.96.51l3.6 4.42c.04.04.07.06.14.02.05-.02.06-.07.03-.12L4.41 2.96a.94.94 0 0 1-.1-.73.92.92 0 0 1 .47-.57 1.06 1.06 0 0 1 1.4.39l3.8 6.14c.03.04.07.07.14.04.04-.03.06-.07.04-.13A153.8 153.8 0 0 0 8.1 2.54c-.31-.68-.2-1.14.36-1.42.52-.27 1.14-.07 1.47.48l3.69 8.3c.01.04.05.05.1.06a.1.1 0 0 0 .09-.07l.66-2.28c.1-.3.31-.56.62-.72.3-.15.65-.18.98-.1.69.2 1.09.87.89 1.52-.1.37-.46 1.73-.99 3.43l-.1.33c-.58 1.86-1.03 3.33-3.11 4.4-.7.35-1.38.53-2.05.53zm-5.84-.17c-.2.2-1.22 0-1.96-.74s-.92-1.75-.73-1.94c.2-.2.62.61 1.36 1.35.74.75 1.52 1.14 1.33 1.33zm8.39-14.61c.2-.2 1.2 0 1.95.74.74.74.92 1.75.73 1.94-.2.2-.62-.61-1.36-1.35-.74-.75-1.52-1.14-1.32-1.33z"/></svg> New contributor</span> </div> <div class="js-new-contributor-popover temp-popover temp-popover__bottom"> <div class="temp-popover--arrow"></div> <div class="p12 fs-caption"> <a href="/users/10365452/ariel">Ariel</a> is a new contributor to this site. Take care in asking for clarification, commenting, and answering. Check out our <a href="/conduct">Code of Conduct</a>. </div> </div> </div> </div> </div> </div> </div> <div class="post-layout--right"> <div id="comments-52339951" class="comments js-comments-container "> <ul class="comments-list js-comments-list" data-remaining-comments-count="0" data-canpost="true" data-cansee="false" data-comments-unavailable="false" data-addlink-disabled="false"> <li id="comment-91627438" class="comment js-comment " data-comment-id="91627438"> <div class="js-comment-actions comment-actions"> <div class="comment-score"> </div> <div class="comment-voting mtn2"> <a tabindex="0" role="button" href="#" class="comment-up comment-up-off" aria-label="Upvote Comment" title="This comment adds something useful to the post"> <svg aria-hidden="true" class="svg-icon iconArrowUp" width="18" height="18" viewBox="0 0 18 18"><path d="M1 13h16L9 5z"/></svg> </a> </div> <div class="comment-flagging"> <a tabindex="0" role="button" href="#" class="comment-flag" aria-label="Flag Comment" title="Flag this comment for serious problems or moderator attention"> <svg aria-hidden="true" class="svg-icon iconFlag" width="18" height="18" viewBox="0 0 18 18"><path d="M3 2v14h2v-6h3.6l.4 1h6V3H9.5L9 2z"/></svg> </a> </div> </div> <div class="comment-text js-comment-text-and-form"> <div class="comment-body" style="display: block;" > <span class="comment-copy">Are you saying you can&#39;t figure out a regular expression for getting URLs from HTML?</span> &ndash;&nbsp;<a href="/users/119549/jacob" title="55,220 reputation" class="comment-user">Jacob</a> <span class="comment-date" dir="ltr"><span title="2018-09-14 23:05:14Z" class="relativetime-clean">17 mins ago</span></span> </div> </div> </li> <li id="comment-91627468" class="comment js-comment " data-comment-id="91627468"> <div class="js-comment-actions comment-actions"> <div class="comment-score"> </div> <div class="comment-voting mtn2"> <a tabindex="0" role="button" href="#" class="comment-up comment-up-off" aria-label="Upvote Comment" title="This comment adds something useful to the post"> <svg aria-hidden="true" class="svg-icon iconArrowUp" width="18" height="18" viewBox="0 0 18 18"><path d="M1 13h16L9 5z"/></svg> </a> </div> <div class="comment-flagging"> <a tabindex="0" role="button" href="#" class="comment-flag" aria-label="Flag Comment" title="Flag this comment for serious problems or moderator attention"> <svg aria-hidden="true" class="svg-icon iconFlag" width="18" height="18" viewBox="0 0 18 18"><path d="M3 2v14h2v-6h3.6l.4 1h6V3H9.5L9 2z"/></svg> </a> </div> </div> <div class="comment-text js-comment-text-and-form"> <div class="comment-body" style="display: block;" > <span class="comment-copy">I can, for other search engine everything works fine, I don&#39;t know why it doesn&#39;t work for this engine</span> &ndash;&nbsp;<a href="/users/10365452/ariel" title="8 reputation" class="comment-user owner">Ariel</a> <span class="comment-date" dir="ltr"><span title="2018-09-14 23:07:18Z" class="relativetime-clean">15 mins ago</span></span> </div> </div> </li> <li id="comment-91627511" class="comment js-comment " data-comment-id="91627511"> <div class="js-comment-actions comment-actions"> <div class="comment-score"> </div> <div class="comment-voting mtn2"> <a tabindex="0" role="button" href="#" class="comment-up comment-up-off" aria-label="Upvote Comment" title="This comment adds something useful to the post"> <svg aria-hidden="true" class="svg-icon iconArrowUp" width="18" height="18" viewBox="0 0 18 18"><path d="M1 13h16L9 5z"/></svg> </a> </div> <div class="comment-flagging"> <a tabindex="0" role="button" href="#" class="comment-flag" aria-label="Flag Comment" title="Flag this comment for serious problems or moderator attention"> <svg aria-hidden="true" class="svg-icon iconFlag" width="18" height="18" viewBox="0 0 18 18"><path d="M3 2v14h2v-6h3.6l.4 1h6V3H9.5L9 2z"/></svg> </a> </div> </div> <div class="comment-text js-comment-text-and-form"> <div class="comment-body" style="display: block;" > <span class="comment-copy">It&#39;s not clear to me what you&#39;re saying is not working. Your question shows you downloading search results. Are you saying that the download isn&#39;t working or that you are downloading and you can&#39;t find URLs? And if these aren&#39;t working, what&#39;s the expected vs actual behavior?</span> &ndash;&nbsp;<a href="/users/119549/jacob" title="55,220 reputation" class="comment-user">Jacob</a> <span class="comment-date" dir="ltr"><span title="2018-09-14 23:10:44Z" class="relativetime-clean">12 mins ago</span></span> <span title="this comment was edited 1 time"> <svg aria-hidden="true" class="svg-icon va-text-bottom o50 iconPencilSm" width="14" height="15" viewBox="0 0 14 15"><path d="M8.37 4.7L2 11.11V13h1.88l6.37-6.43zM12.23 3.83L11.1 2.71a.5.5 0 0 0-.7 0L9.2 3.86l1.88 1.84 1.14-1.16a.5.5 0 0 0 0-.71z"/></svg> </span> </div> </div> </li> </ul> <div class="comment-form"> <div class="js-add-comment-message d-none"> <svg aria-hidden="true" class="svg-icon iconWave" width="18" height="18" viewBox="0 0 18 18"><path d="M10.7 17c-2.3 0-3.9-2.05-5.07-3.54l-.49-.6c-.67-.8-1.59-1.63-2.4-2.36A10.91 10.91 0 0 1 1.1 8.87a.79.79 0 0 1-.09-.56c.04-.19.14-.34.27-.4.14-.07.29-.1.45-.1.35 0 .67.18.87.34l3.5 2.75c.04.03.1.03.13 0a.09.09 0 0 0 .02-.13l-.02-.02c-.57-.8-3.42-4.77-3.71-5.15-.21-.27-.3-.58-.24-.84.05-.2.2-.37.4-.48.18-.09.35-.13.52-.13.44 0 .76.28.96.51l3.6 4.42c.04.04.07.06.14.02.05-.02.06-.07.03-.12L4.41 2.96a.94.94 0 0 1-.1-.73.92.92 0 0 1 .47-.57 1.06 1.06 0 0 1 1.4.39l3.8 6.14c.03.04.07.07.14.04.04-.03.06-.07.04-.13A153.8 153.8 0 0 0 8.1 2.54c-.31-.68-.2-1.14.36-1.42.52-.27 1.14-.07 1.47.48l3.69 8.3c.01.04.05.05.1.06a.1.1 0 0 0 .09-.07l.66-2.28c.1-.3.31-.56.62-.72.3-.15.65-.18.98-.1.69.2 1.09.87.89 1.52-.1.37-.46 1.73-.99 3.43l-.1.33c-.58 1.86-1.03 3.33-3.11 4.4-.7.35-1.38.53-2.05.53zm-5.84-.17c-.2.2-1.22 0-1.96-.74s-.92-1.75-.73-1.94c.2-.2.62.61 1.36 1.35.74.75 1.52 1.14 1.33 1.33zm8.39-14.61c.2-.2 1.2 0 1.95.74.74.74.92 1.75.73 1.94-.2.2-.62-.61-1.36-1.35-.74-.75-1.52-1.14-1.32-1.33z"/></svg> <a href="/users/10365452/ariel">Ariel</a> is a new contributor. Be nice, and check out our <a href="/conduct">Code of Conduct</a>. </div> <form id="add-comment-52339951" class="" data-placeholdertext="Use comments to ask for more information or suggest improvements. Avoid answering questions in comments."></form> </div> </div> <div id="comments-link-52339951" > <a class="js-add-link comments-link " title="Use comments to ask for more information or suggest improvements. Avoid answering questions in comments." href=#>add a comment</a><span class="js-link-separator dno">&nbsp;|&nbsp;</span> <a class="js-show-link comments-link dno" title="expand to show all comments on this post" href=# onclick=""></a> </div> </div> </div> </div> <div id="answers" class="no-answers"> <a name="tab-top"></a> <div id="answers-header"> <div class="subheader answers-subheader"> <h2 data-answercount="0"> </h2> <div style="display:none;"> <div id="tabs"> <a href="/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine?answertab=active#tab-top" data-nav-xhref="" title="Answers with the latest activity first" data-value="active" data-shortcut="A"> active</a> <a href="/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine?answertab=oldest#tab-top" data-nav-xhref="" title="Answers in the order they were provided" data-value="oldest" data-shortcut="O"> oldest</a> <a class="youarehere is-selected " href="/questions/52339951/c-sharp-how-to-get-data-from-mywebsearchsearch-engine?answertab=votes#tab-top" data-nav-xhref="" title="Answers with the highest score first" data-value="votes" data-shortcut="V"> votes</a> </div> </div> </div> </div> <h2 class="bottom-notice bottom-share-links" style="padding-top: 8px; margin-bottom: -8px;"> Know someone who can answer? Share a link to this <a href="/q/52339951/1079221">question</a> via <a href="mailto:?subject=Stack%20Overflow%20Question&amp;body=C%23%20-%20How%20to%20get%20data%20from%20mywebsearch(Search%20Engine)%0Ahttps%3a%2f%2fstackoverflow.com%2fq%2f52339951%2f1079221%3fsem%3d2">email</a>, <a href="https://plus.google.com/share?url=https%3a%2f%2fstackoverflow.com%2fq%2f52339951%2f1079221%3fsgp%3d2">Google+</a>, <a href="https://twitter.com/share?url=https%3a%2f%2fstackoverflow.com%2fq%2f52339951%2f1079221%3fstw%3d2">Twitter</a>, or <a href="https://www.facebook.com/sharer.php?u=https%3a%2f%2fstackoverflow.com%2fq%2f52339951%2f1079221%3fsfb%3d2">Facebook</a>. </h2> <a name=\'new-answer\'></a> <form id="post-form" action="/questions/52339951/answer/submit" method="post" class="post-form"> <input type="hidden" id="post-id" value="52339951" /> <input type="hidden" id="qualityBanWarningShown" name="qualityBanWarningShown" value="false" /> <input type="hidden" name="referrer" value="https://stackoverflow.com/"/> <h2 class="space">Your Answer</h2> <script> StackExchange.ifUsing("editor", function () { StackExchange.using("externalEditor", function () { StackExchange.using("snippets", function () { StackExchange.snippets.init(); }); }); }, "code-snippets"); </script> <script> StackExchange.ready(function() { var channelOptions = { tags: "".split(" "), id: "1" }; initTagRenderer("".split(" "), "".split(" "), channelOptions); StackExchange.using("externalEditor", function() { // Have to fire editor after snippets, if snippets enabled if (StackExchange.settings.snippets.snippetsEnabled) { StackExchange.using("snippets", function() { createEditor(); }); } else { createEditor(); } }); function createEditor() { StackExchange.prepareEditor({ heartbeatType: \'answer\', convertImagesToLinks: false, noModals: false, showLowRepImageUploadWarning: false, reputationToPostImages: null, bindNavPrevention: true, postfix: "", onDemand: false, discardSelector: ".discard-answer" ,userId:1079221 }); } }); </script> <div id="post-editor" class="post-editor js-post-editor wz-element" data-wz-state="3,4,5,6,7,8"> <div style="position: relative;"> <div class="wmd-container"> <div id="wmd-button-bar" class="wmd-button-bar btr-sm"></div> <div class="new-contributor-indicator fc-black py12 ta-center bl br bc-black-4"> <svg aria-hidden="true" class="svg-icon iconWave" width="18" height="18" viewBox="0 0 18 18"><path d="M10.7 17c-2.3 0-3.9-2.05-5.07-3.54l-.49-.6c-.67-.8-1.59-1.63-2.4-2.36A10.91 10.91 0 0 1 1.1 8.87a.79.79 0 0 1-.09-.56c.04-.19.14-.34.27-.4.14-.07.29-.1.45-.1.35 0 .67.18.87.34l3.5 2.75c.04.03.1.03.13 0a.09.09 0 0 0 .02-.13l-.02-.02c-.57-.8-3.42-4.77-3.71-5.15-.21-.27-.3-.58-.24-.84.05-.2.2-.37.4-.48.18-.09.35-.13.52-.13.44 0 .76.28.96.51l3.6 4.42c.04.04.07.06.14.02.05-.02.06-.07.03-.12L4.41 2.96a.94.94 0 0 1-.1-.73.92.92 0 0 1 .47-.57 1.06 1.06 0 0 1 1.4.39l3.8 6.14c.03.04.07.07.14.04.04-.03.06-.07.04-.13A153.8 153.8 0 0 0 8.1 2.54c-.31-.68-.2-1.14.36-1.42.52-.27 1.14-.07 1.47.48l3.69 8.3c.01.04.05.05.1.06a.1.1 0 0 0 .09-.07l.66-2.28c.1-.3.31-.56.62-.72.3-.15.65-.18.98-.1.69.2 1.09.87.89 1.52-.1.37-.46 1.73-.99 3.43l-.1.33c-.58 1.86-1.03 3.33-3.11 4.4-.7.35-1.38.53-2.05.53zm-5.84-.17c-.2.2-1.22 0-1.96-.74s-.92-1.75-.73-1.94c.2-.2.62.61 1.36 1.35.74.75 1.52 1.14 1.33 1.33zm8.39-14.61c.2-.2 1.2 0 1.95.74.74.74.92 1.75.73 1.94-.2.2-.62-.61-1.36-1.35-.74-.75-1.52-1.14-1.32-1.33z"/></svg> <a href="/users/10365452/ariel">Ariel</a> is a new contributor. Be nice, and check out our <a href="/conduct">Code of Conduct</a>. </div> <div class="js-stacks-validation"> <div class="ps-relative"> <textarea id="wmd-input" class="wmd-input wz-element s-input bar0" name="post-text" cols="92" rows="15" tabindex="101" data-wz-state="8" data-min-length=""></textarea> </div> <div class="s-input-message mt4 d-none js-stacks-validation-message"></div> </div> </div> </div> <div class="fl" style="margin-top: 8px; height:24px;">&nbsp;</div> <div id="draft-saved" class="draft-saved community-option fl" style="margin-top: 8px; height:24px; display:none;">draft saved</div> <div id="draft-discarded" class="draft-discarded community-option fl" style="margin-top: 8px; height:24px; display:none;">draft discarded</div> <div class="community-option g-row ai-center f-checkbox"> <div class="g-col -input"> <input id="communitymode" name="communitymode" type="checkbox" > </div> <div class="g-col"> <label for="communitymode" class="f-label _small" title="Marking an answer community wiki encourages others to edit it by lowering the reputation barrier required to edit. However, you will not gain any upvote reputation from it. This cannot be undone.">community wiki</label> </div> </div> <div id="wmd-preview" class="wmd-preview"></div> <div></div> <div class="edit-block"> <input id="fkey" name="fkey" type="hidden" value="1dc4e3c1a03705cdc7235544e642d8399f8f0a7355918409a2019c2147f61d7b"> <input id="author" name="author" type="text"> </div> </div> <div style="position: relative;"> </div> <div class="form-submit cbt grid gsx gs4"> <button id="submit-button" class="grid--cell s-btn s-btn__primary" type="submit" tabindex="120" autocomplete="off"> Post Your Answer </button> <button class="grid--cell s-btn s-btn__danger discard-answer dno">Discard</button> </div> </form> <script> StackExchange.using("inlineEditing", function () { StackExchange.inlineEditing.init(); }); </script> <h2 class="bottom-notice" data-loc="1"> Browse other questions tagged <a href="/questions/tagged/c%23" class="post-tag" title="show questions tagged &#39;c#&#39;" rel="tag">c#</a> <a href="/questions/tagged/.net" class="post-tag" title="show questions tagged &#39;.net&#39;" rel="tag">.net</a> <a href="/questions/tagged/web" class="post-tag" title="show questions tagged &#39;web&#39;" rel="tag">web</a> or <a href="/questions/ask">ask your own question</a>. </h2> </div> </div> <div id="sidebar" class="show-votes" role="complementary" aria-label="sidebar"> <div class="module question-stats"> <table id="qinfo"> <tr> <td> <p class="label-key">asked</p> </td> <td style="padding-left: 10px"> <p class="label-key" title="2018-09-14 22:33:06Z"><b>today</b></p> </td> </tr> <tr> <td> <p class="label-key">viewed</p> </td> <td style="padding-left: 10px"> <p class="label-key"> <b>6 times</b> </p> </td> </tr> </table> </div> <div class="module community-bulletin" data-tracker="cb=1"> <div class="related"> <div class="bulletin-title"> Featured on Meta </div> <hr /> <div class="spacer"> <div class="bulletin-item-type"> <a href="https://meta.stackoverflow.com/questions/373920/vsts-has-been-renamed-to-azure-devops-lets-talk-about-some-tags" class="question-hyperlink" data-ga="[&quot;community bulletin board&quot;,&quot;Featured on Meta&quot;,&quot;https://meta.stackoverflow.com/questions/373920/vsts-has-been-renamed-to-azure-devops-lets-talk-about-some-tags&quot;,null,null]"> <div class="favicon favicon-stackoverflowmeta" title="Meta Stack Overflow"></div> </a> </div> <div class="bulletin-item-content"> <a href="https://meta.stackoverflow.com/questions/373920/vsts-has-been-renamed-to-azure-devops-lets-talk-about-some-tags" class="question-hyperlink" data-ga="[&quot;community bulletin board&quot;,&quot;Featured on Meta&quot;,&quot;https://meta.stackoverflow.com/questions/373920/vsts-has-been-renamed-to-azure-devops-lets-talk-about-some-tags&quot;,null,null]">VSTS has been renamed to Azure DevOps - let&#39;s talk about some tags</a> </div> <br class="cbt" /> </div> <div class="bulletin-title"> Hot Meta Posts </div> <hr /> <div class="spacer"> <div class="bulletin-item-type"> <span title="Vote score (upvotes - downvotes)">33</span> </div> <div class="bulletin-item-content"> <a href="https://meta.stackoverflow.com/questions/373986/failed-review-audit-for-a-post-but-it-looks-alright" class="question-hyperlink" data-ga="[&quot;community bulletin board&quot;,&quot;Hot Meta Posts&quot;,&quot;https://meta.stackoverflow.com/questions/373986/failed-review-audit-for-a-post-but-it-looks-alright&quot;,null,null]">Failed review audit for a post, but it looks alright?</a> </div> <br class="cbt" /> </div> <div class="spacer"> <div class="bulletin-item-type"> <span title="Vote score (upvotes - downvotes)">51</span> </div> <div class="bulletin-item-content"> <a href="https://meta.stackoverflow.com/questions/374030/allow-me-to-dismiss-the-notify-others-pop-up" class="question-hyperlink" data-ga="[&quot;community bulletin board&quot;,&quot;Hot Meta Posts&quot;,&quot;https://meta.stackoverflow.com/questions/374030/allow-me-to-dismiss-the-notify-others-pop-up&quot;,null,null]">Allow me to dismiss the &ldquo;notify others&rdquo; pop up</a> </div> <br class="cbt" /> </div> <div class="spacer"> <div class="bulletin-item-type"> <span title="Vote score (upvotes - downvotes)">5</span> </div> <div class="bulletin-item-content"> <a href="https://meta.stackoverflow.com/questions/374084/lets-burninate-the-new-iphones-iphone-xr-iphone-xs-max" class="question-hyperlink" data-ga="[&quot;community bulletin board&quot;,&quot;Hot Meta Posts&quot;,&quot;https://meta.stackoverflow.com/questions/374084/lets-burninate-the-new-iphones-iphone-xr-iphone-xs-max&quot;,null,null]">Let&#39;s burninate the new iPhones [iphone-xr] [iphone-xs-max]</a> </div> <br class="cbt" /> </div> </div> </div> <div id="dfp-tsb" class="everyonelovesstackoverflow everyoneloves__top-sidebar"></div> <div id="hireme"></div> <script>;try{(function(a){function b(a){return\'string\'==typeof a?document.getElementById(a):a}function c(a){return a=b(a),!!a&&\'none\'===getComputedStyle(a).display}function d(a){return!c(a)}function e(a){return!!a}function f(a){return /^\\s*$/.test(b(a).innerHTML)}function g(a){var b=a.style;b.height=b.maxHeight=b.minHeight=\'auto\',b.display=\'none\',[].forEach.call(a.children,g)}function h(a,b){var c;return function(){return a&&(c=a.call(b||this,arguments),a=null),c}}function i(a){var b=document.createElement(\'script\');b.src=a,document.body.appendChild(b)}function j(a){return k([],a)}function k(a,b){return a.push=function(a){return b(),delete this.push,this.push(a)},a}function l(){try{return!new Function(\'return async()=>{};\')}catch(a){return!0}}function m(){return\'undefined\'!=typeof googletag&&!!googletag.apiReady}function n(){m()||(googletag={cmd:j(A)})}function o(){var a=document.createElement(\'div\');a.className=\'adsbox\',a.id=\'clc-abd\',a.style.position=\'absolute\',a.style.pointerEvents=\'none\',a.innerHTML=\'&nbsp;\',document.body.appendChild(a)}function p(a){var b=a.serviceName,c=a.slot,d=a.lineItemId;try{var e=c.getSlotElementId(),f=[];e||f.push(\'id=0\');var h=document.getElementById(e);if(!e||h?h.hasAttribute(\'data-clc-stalled\')&&f.push(\'st=1\'):f.push(\'el=0\'),0!==f.length)return void B(f.join(\'&\'));-1===x.dh.indexOf(d)?h.setAttribute(\'data-clc-prefilled\',\'true\'):g(h),h.setAttribute(\'data-clc-ready\',\'true\')}catch(a){var i=document.querySelector(\'#dfp-tsb, #dfp-isb, #clc-tsb\');i&&i.setAttribute(\'data-clc-ready\',\'true\'),B(\'e=1\')}}function q(){return Object.keys(F.ids)}function r(a){var b=F.ids[a],c=F.slots[b];\'function\'==typeof c&&(c=c(a));return{path:\'/\'+C+\'/\'+E+\'/\'+b+\'/\'+D,sizes:c,zone:b}}function s(a){return!(clc.collapse&&void 0!==clc.collapse[a])||!!clc.collapse[a]}function t(a,b){\'dfp-isb\'===a&&b.setTargeting(\'Sidebar\',[\'Inline\']),\'dfp-tsb\'===a&&b.setTargeting(\'Sidebar\',[\'Right\']);var c=r(a),d=c.path,e=c.sizes,f=c.zone,g=googletag.defineSlot(d,e,a);s(f)&&g.setCollapseEmptyDiv(!0,!0),g.addService(b),!1}function u(b){var c=a.dfp&&a.dfp.targeting||{};Object.keys(c).forEach(function(a){b.setTargeting(a,c[a])})}function v(a){var g=a.map(b).filter(e);return{eligible:g.filter(f).filter(d).map(function(a){return a.id}),ineligible:g.filter(c)}}function w(b){if(void 0===b&&(b=q()),!m())return n(),void googletag.cmd.push(function(){return w(b)});var c=v(b),d=c.eligible,e=c.ineligible;if(e.forEach(g),0!==d.length){o(),googletag.destroySlots();var f=googletag.pubads();f.enableSingleRequest(),a.sreEvent||(f.addEventListener(\'slotRenderEnded\',p),a.sreEvent=!0),u(f),d.forEach(function(a){return t(a,f)}),googletag.enableServices(),d.forEach(function(a){googletag.display(a)})}}var x=function(a){for(var b=[],c=1;c<arguments.length;c++)b[c-1]=arguments[c];for(var d,e=0,f=b;e<f.length;e++)for(var g in d=f[e],d)a[g]=d[g];return a}({"lib":"https://cdn.sstatic.net/clc/clc.min.js?v=04d772c81312","style":"https://cdn.sstatic.net/clc/styles/clc.min.css?v=f28c677e209b","u":"https://clc.stackoverflow.com/markup.js","wa":true,"kt":2000,"tto":true,"h":"clc.stackoverflow.com","allowed":"^(((talent\\\\.)?stackoverflow)|(blog\\\\.codinghorror)|(serverfault|askubuntu)|([^\\\\.]+\\\\.stackexchange))\\\\.com$","wv":true,"al":false,"dh":[4385506061,4386578282,4386579572]},a.options||{}),y=h(function(){var a=x.lib;l()&&(a=a.replace(/(\\.min)?\\.js(\\?v=[0-9a-fA-F]+)?$/,\'.ie$1.js$2\')),i(a)}),z=a.cmd||[];Array.isArray(z)&&(0<z.length?y():k(z,y));var A=h(function(){i(\'https://www.googletagservices.com/tag/js/gpt.js\')}),B=function(a){new Image().src=\'https://\'+x.h+\'/stalled.gif?\'+a},C=\'248424177\',D=/^\\/tags\\//.test(location.pathname)||/^\\/questions\\/tagged\\//.test(location.pathname)?\'tag-pages\':\'question-pages\',E=location.hostname;var F={slots:{lb:[[728,90]],mlb:[[728,90]],sb:function(a){return\'dfp-tsb\'===a?[[300,250],[300,600]]:[[300,250]]},"tag-sponsorship":[[730,135]],"mobile-below-question":[[320,50],[300,250]]},ids:{"dfp-tlb":\'lb\',"dfp-mlb":\'mlb\',"dfp-tsb":\'sb\',"dfp-isb":\'sb\',"dfp-tag":\'tag-sponsorship\',"dfp-m-aq":\'mobile-below-question\',"clc-tlb":\'lb\',"clc-mlb":\'mlb\',"clc-tsb":\'sb\'}};(function(){var b=x.al;b&&z.push(function(){return a.load()})})(),n(),a.dfp={load:w},a.options=x,a.cmd=z})(this.clc=this.clc||{})}catch(a){window.console.error(a)}</script> <script> var clc = clc || {}; clc.collapse = { sb: !0,\'tag-sponsorship\':!0,lb:!1,mlb:!1,\'mobile-below-question\':!0}; clc.cmd = clc.cmd || []; clc.cmd.push(function () { window.clc_request=\'AjVomAmZGtYIOIUQAO-kHgMCAAAAAgAAAAMNAAAAfGMjfC5uZXR8d2VifADn5wFnKvwfmSL_\'; clc.load(); }); clc.dfp = clc.dfp || {}; clc.dfp.targeting = {Registered:[\'true\'],Reputation:[\'10k\'],\'so-tag\':[\'c_sharp\',\'.net\',\'web\'],IsHighRepEarner:[\'true\']}; var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; googletag.cmd.push(function () { clc.dfp.load(); }); </script> <div class="module sidebar-related"> <h4 id="h-related">Related</h4> <div class="related js-gps-related-questions" data-tracker="rq=1"> <div class="spacer"><a href="/q/9" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1743</div></a><a href="/questions/9/how-do-i-calculate-someones-age-in-c" class="question-hyperlink">How do I calculate someone&#39;s age in C#?</a></div><div class="spacer"><a href="/q/40730" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1453</div></a><a href="/questions/40730/how-do-you-give-a-c-sharp-auto-property-a-default-value" class="question-hyperlink">How do you give a C# Auto-Property a default value?</a></div><div class="spacer"><a href="/q/105372" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">3151</div></a><a href="/questions/105372/how-do-i-enumerate-an-enum-in-c" class="question-hyperlink">How do I enumerate an enum in C#?</a></div><div class="spacer"><a href="/q/151005" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1590</div></a><a href="/questions/151005/create-excel-xls-and-xlsx-file-from-c-sharp" class="question-hyperlink">Create Excel (.XLS and .XLSX) file from C#</a></div><div class="spacer"><a href="/q/472906" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1935</div></a><a href="/questions/472906/how-do-i-get-a-consistent-byte-representation-of-strings-in-c-sharp-without-manu" class="question-hyperlink">How do I get a consistent byte representation of strings in C# without manually specifying an encoding?</a></div><div class="spacer"><a href="/q/661561" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1161</div></a><a href="/questions/661561/how-do-i-update-the-gui-from-another-thread" class="question-hyperlink">How do I update the GUI from another thread?</a></div><div class="spacer"><a href="/q/837488" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted large">813</div></a><a href="/questions/837488/how-can-i-get-the-applications-path-in-a-net-console-application" class="question-hyperlink">How can I get the application&#39;s path in a .NET console application?</a></div><div class="spacer"><a href="/q/943398" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1397</div></a><a href="/questions/943398/get-int-value-from-enum-in-c-sharp" class="question-hyperlink">Get int value from enum in C#</a></div><div class="spacer"><a href="/q/972307" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1135</div></a><a href="/questions/972307/how-to-loop-through-all-enum-values-in-c" class="question-hyperlink">How to loop through all enum values in C#?</a></div><div class="spacer"><a href="/q/2706500" title="Vote score (upvotes - downvotes)"><div class="answer-votes answered-accepted extra-large">1454</div></a><a href="/questions/2706500/how-do-i-generate-a-random-int-number-in-c" class="question-hyperlink">How do I generate a random int number in C#?</a></div> </div> </div> <div id="hot-network-questions" class="module tex2jax_ignore"> <h4> <a href="https://stackexchange.com/questions?tab=hot" class="js-gps-track s-link s-link__inherit" data-gps-track="posts_hot_network.click({ item_type:1, location:11 })"> Hot Network Questions </a> </h4> <ul> <li > <div class="favicon favicon-ell" title="English Language Learners Stack Exchange"></div><a href="https://ell.stackexchange.com/questions/179718/can-one-reminiscence-comprise-many-items" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:481 }); posts_hot_network.click({ item_type:2, location:11 })"> Can one reminiscence comprise many items? </a> </li> <li > <div class="favicon favicon-gaming" title="Arqade"></div><a href="https://gaming.stackexchange.com/questions/338610/what-does-the-term-spot-healing-mean-in-world-of-warcraft" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:41 }); posts_hot_network.click({ item_type:2, location:11 })"> What does the term &#39;Spot Healing&#39; mean in world of warcraft? </a> </li> <li > <div class="favicon favicon-mathematica" title="Mathematica Stack Exchange"></div><a href="https://mathematica.stackexchange.com/questions/181917/how-to-replace-the-string-with-certain-character" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:387 }); posts_hot_network.click({ item_type:2, location:11 })"> How to replace the string with certain character </a> </li> <li > <div class="favicon favicon-workplace" title="The Workplace Stack Exchange"></div><a href="https://workplace.stackexchange.com/questions/119137/how-to-gently-enforce-nohello-to-a-coworker" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:423 }); posts_hot_network.click({ item_type:2, location:11 })"> How to gently enforce &quot;nohello&quot; to a coworker? </a> </li> <li > <div class="favicon favicon-3dprinting" title="3D Printing Stack Exchange"></div><a href="https://3dprinting.stackexchange.com/questions/6914/filament-isnt-going-into-the-bowden-tube-instead-it-goes-into-the-room" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:640 }); posts_hot_network.click({ item_type:2, location:11 })"> Filament isnt going into the bowden tube. Instead it goes &quot;into the room&quot; </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-scifi" title="Science Fiction &amp; Fantasy Stack Exchange"></div><a href="https://scifi.stackexchange.com/questions/194793/is-there-a-depiction-of-superman-as-an-asian" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:186 }); posts_hot_network.click({ item_type:2, location:11 })"> Is there a depiction of Superman as an Asian? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-space" title="Space Exploration Stack Exchange"></div><a href="https://space.stackexchange.com/questions/30677/do-rockets-launch-vehicles-or-spacecrafts-contains-a-black-box" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:508 }); posts_hot_network.click({ item_type:2, location:11 })"> Do rockets, launch vehicles or spacecrafts contains a black-box? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-mechanics" title="Motor Vehicle Maintenance &amp; Repair Stack Exchange"></div><a href="https://mechanics.stackexchange.com/questions/58945/exactly-how-much-refrigerant-is-in-there" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:224 }); posts_hot_network.click({ item_type:2, location:11 })"> Exactly how much refrigerant is in there? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-academia" title="Academia Stack Exchange"></div><a href="https://academia.stackexchange.com/questions/116834/how-to-handle-a-paper-by-a-reviewer-who-wants-to-be-paid" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:415 }); posts_hot_network.click({ item_type:2, location:11 })"> How to handle a paper by a reviewer who wants to be paid? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-codegolf" title="Programming Puzzles &amp; Code Golf Stack Exchange"></div><a href="https://codegolf.stackexchange.com/questions/172171/half-half-half-and-half" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:200 }); posts_hot_network.click({ item_type:2, location:11 })"> Half, Half Half, and, Half </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-gamedev" title="Game Development Stack Exchange"></div><a href="https://gamedev.stackexchange.com/questions/163689/how-to-animate-abstract-2d-top-down-water-texture" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:53 }); posts_hot_network.click({ item_type:2, location:11 })"> How to animate abstract 2d top down water texture? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-bicycles" title="Bicycles Stack Exchange"></div><a href="https://bicycles.stackexchange.com/questions/57082/how-to-pass-a-bicycle-while-driving-a-car" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:126 }); posts_hot_network.click({ item_type:2, location:11 })"> How to pass a bicycle while driving a car </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-puzzling" title="Puzzling Stack Exchange"></div><a href="https://puzzling.stackexchange.com/questions/72313/third-rock-from-the-sun" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:559 }); posts_hot_network.click({ item_type:2, location:11 })"> Third rock from the Sun </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-linguistics" title="Linguistics Stack Exchange"></div><a href="https://linguistics.stackexchange.com/questions/29030/when-should-i-use-%c9%99-or-%c9%aa-and-why-does-it-seem-like-theyre-not-used-correctl" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:312 }); posts_hot_network.click({ item_type:2, location:11 })"> When should I use /ə/ or /ɪ/ and why does it seem like they&#39;re not used correctly? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-travel" title="Travel Stack Exchange"></div><a href="https://travel.stackexchange.com/questions/122348/lille-metro-schedule-is-it-24-7" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:273 }); posts_hot_network.click({ item_type:2, location:11 })"> Lille Metro schedule... is it 24/7? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-travel" title="Travel Stack Exchange"></div><a href="https://travel.stackexchange.com/questions/122312/other-known-tram-bistros-exactly-format-like-cancelled-u76-in-dusseldorf" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:273 }); posts_hot_network.click({ item_type:2, location:11 })"> Other known tram bistros exactly format like cancelled U76 in Dusseldorf? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-superuser" title="Super User"></div><a href="https://superuser.com/questions/1356841/what-is-the-purpose-of-tee" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:3 }); posts_hot_network.click({ item_type:2, location:11 })"> What is the purpose of tee? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-mathoverflow" title="MathOverflow"></div><a href="https://mathoverflow.net/questions/310418/pathology-in-complex-analysis" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:504 }); posts_hot_network.click({ item_type:2, location:11 })"> Pathology in Complex Analysis </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-askubuntu" title="Ask Ubuntu"></div><a href="https://askubuntu.com/questions/1075384/why-there-is-a-difference-between-the-output-of-echo-var-wc-c-and-echo" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:89 }); posts_hot_network.click({ item_type:2, location:11 })"> Why there is a difference between the output of &#39;echo $VAR | wc -c&#39; and &#39;echo ${#VAR}&#39;? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-mathematica" title="Mathematica Stack Exchange"></div><a href="https://mathematica.stackexchange.com/questions/181896/mathematica-cannot-solve-system-that-wolframalpha-can" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:387 }); posts_hot_network.click({ item_type:2, location:11 })"> Mathematica cannot solve system that Wolfram|Alpha can </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-security" title="Information Security Stack Exchange"></div><a href="https://security.stackexchange.com/questions/193651/can-someone-get-my-home-address-if-i-click-on-a-link-to-a-ip-logger" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:162 }); posts_hot_network.click({ item_type:2, location:11 })"> Can someone get my home address if I click on a link to a IP logger? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-academia" title="Academia Stack Exchange"></div><a href="https://academia.stackexchange.com/questions/116903/can-a-university-revoke-my-degree-for-not-attending-classes" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:415 }); posts_hot_network.click({ item_type:2, location:11 })"> Can a university revoke my degree for not attending classes? </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-tex" title="TeX - LaTeX Stack Exchange"></div><a href="https://tex.stackexchange.com/questions/450891/defining-new-commands-from-luatex" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:85 }); posts_hot_network.click({ item_type:2, location:11 })"> Defining new commands from LuaTeX </a> </li> <li class="dno js-hidden"> <div class="favicon favicon-unix" title="Unix &amp; Linux Stack Exchange"></div><a href="https://unix.stackexchange.com/questions/469070/installing-debian-5-in-2018-is-it-still-possible" class="js-gps-track question-hyperlink mb0" data-gps-track="site.switch({ item_type:11, target_site:106 }); posts_hot_network.click({ item_type:2, location:11 })"> Installing Debian 5 in 2018. Is it still possible? </a> </li> </ul> <a href="#" class="show-more js-show-more js-gps-track" data-gps-track="posts_hot_network.click({ item_type:3, location:11 })"> more hot questions </a> </div> <div id="feed-link"> <a href="/feeds/question/52339951" title="feed of this question and its answers"> <svg aria-hidden="true" class="svg-icon fc-orange-400 iconRss" width="18" height="18" viewBox="0 0 18 18"><path d="M1 3c0-1.1.9-2 2-2h12a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V3zm14.5 12C15.5 8.1 9.9 2.5 3 2.5V5a10 10 0 0 1 10 10h2.5zm-5 0A7.5 7.5 0 0 0 3 7.5V10a5 5 0 0 1 5 5h2.5zm-5 0A2.5 2.5 0 0 0 3 12.5V15h2.5z"/></svg> question feed </a> </div> </div> </div> <script>StackExchange.ready(function(){$.get(\'/posts/52339951/ivc/a731\');});</script> <noscript><div><img src="/posts/52339951/ivc/a731" class="dno" alt="" width="0" height="0"></div></noscript><div style="display:none" id="prettify-lang">lang-cs</div></div> <script> $(\'#wmd-input\').one("keypress", function() { $.ajax({ url: \'/accounts/email-settings-form\', cache: false, success: function(data) { $(\'#submit-button\').parent().prepend(data); } }); }); </script> </div> </div> <footer id="footer" class="site-footer js-footer" role="contentinfo"> <div class="site-footer--container"> <div class="site-footer--logo"> <a href="https://stackoverflow.com"><svg aria-hidden="true" class="svg-icon native iconLogoGlyphMd" width="32" height="37" viewBox="0 0 32 37"><g><path fill="#BCBBBB" d="M26 33v-9h4v13H0V24h4v9z"/><path d="M23.1 25.99l.68-2.95-16.1-3.35L7 23l16.1 2.99zM9.1 15.2l15 7 1.4-3-15-7-1.4 3zm4.2-7.4L26 18.4l2.1-2.5L15.4 5.3l-2.1 2.5zM21.5 0l-2.7 2 9.9 13.3 2.7-2L21.5 0zM7 30h16v-3H7v3z" fill="#F48024"/></g></svg></a> </div> <nav class="site-footer--nav"> <div class="site-footer--col site-footer--col__visible js-footer-col" data-name="default"> <h5 class="-title"><a href="https://stackoverflow.com" class="js-gps-track" data-gps-track="footer.click({ location: 2, link: 15})">Stack Overflow</a></h5> <ul class="-list js-primary-footer-links"> <li class="-item"><a href="/questions" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 16})">Questions</a></li> <li class="-item"><a href="https://stackoverflow.com/jobs" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 17})">Jobs</a></li> <li class="-item"><a href="https://stackoverflow.com/jobs/directory/developer-jobs" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 11})">Developer Jobs Directory</a></li> <li class="-item"><a href="https://stackoverflow.com/jobs/salary" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 28})">Salary Calculator</a></li> <li class="-item"><a href="/help" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 3 })">Help</a></li> <li class="-item"><a onclick=\'StackExchange.switchMobile("on")\' class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 12 })">Mobile</a></li> </ul> </div> <div class="site-footer--col site-footer--col__visible js-footer-col" data-name="default"> <h5 class="-title"><a href="https://www.stackoverflowbusiness.com" class="js-gps-track" data-gps-track="footer.click({ location: 2, link: 19 })">Products</a></h5> <ul class="-list"> <li class="-item"><a href="https://stackoverflow.com/teams" class="js-gps-track -link" data-ga="[&quot;teams traffic&quot;,&quot;footer - site nav&quot;,&quot;stackoverflow.com/teams&quot;,null,{&quot;dimension4&quot;:&quot;teams&quot;}]" data-gps-track="footer.click({ location: 2, link: 29 })">Teams</a></li> <li class="-item"><a href="https://www.stackoverflowbusiness.com/talent" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 20 })">Talent</a></li> <li class="-item"><a href="https://www.stackoverflowbusiness.com/advertise" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 21 })">Engagement</a></li> <li class="-item"><a href="https://stackoverflow.com/enterprise" class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 22 })">Enterprise</a></li> </ul> </div> <div class="site-footer--col site-footer--col__visible js-footer-col" data-name="default"> <h5 class="-title"><a class="js-gps-track" data-gps-track="footer.click({ location: 2, link: 1 })" href="https://stackoverflow.com/company/about">Company</a></h5> <ul class="-list"> <li class="-item"><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 1 })" href="https://stackoverflow.com/company/about">About</a></li> <li class="-item"><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 27 })" href="https://stackoverflow.com/company/press">Press</a></li> <li class="-item"><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 9 })" href="https://stackoverflow.com/company/work-here">Work Here</a></li> <li class="-item"><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 7 })" href="https://stackoverflow.com/legal">Legal</a></li> <li class="-item"><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 8 })" href="https://stackoverflow.com/legal/privacy-policy">Privacy Policy</a></li> <li class="-item"><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link: 13 })" href="https://stackoverflow.com/company/contact">Contact Us</a></li> </ul> </div> <div class="site-footer--col site-footer--categories-nav site-footer--col__visible"> <a href="#" class="site-footer--back js-footer-back"><svg aria-hidden="true" class="svg-icon iconArrowLeftAlt" width="18" height="18" viewBox="0 0 18 18"><path d="M10.58 16L12 14.59 6.4 9 12 3.41 10.57 2l-7 7z"/></svg></a> <div> <h5 class="-title"><a href="https://stackexchange.com">Stack Exchange<br> Network</a></h5> <ul class="-list"> <li class="-item"><a href="#" class="-link _expandable js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })" data-target="Technology">Technology</a></li> <li class="-item"><a href="#" class="-link _expandable js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })" data-target="Life / Arts">Life / Arts</a></li> <li class="-item"><a href="#" class="-link _expandable js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })" data-target="Culture / Recreation">Culture / Recreation</a></li> <li class="-item"><a href="#" class="-link _expandable js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })" data-target="Science">Science</a></li> <li class="-item"><a href="#" class="-link _expandable js-footer-category-trigger js-gps-track" data-gps-track="footer.click({ location: 2, link: 24 })" data-target="Other">Other</a></li> </ul> </div> </div> <div class="site-footer--categories"> <div class="site-footer--col site-footer--category js-footer-col" data-name="Technology"> <ul class="-list"> <li class="-item"><a href="https://stackoverflow.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="professional and enthusiast programmers">Stack Overflow</a></li> <li class="-item"><a href="https://serverfault.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="system and network administrators">Server Fault</a></li> <li class="-item"><a href="https://superuser.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="computer enthusiasts and power users">Super User</a></li> <li class="-item"><a href="https://webapps.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="power users of web applications">Web Applications</a></li> <li class="-item"><a href="https://askubuntu.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="Ubuntu users and developers">Ask Ubuntu</a></li> <li class="-item"><a href="https://webmasters.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="pro webmasters">Webmasters</a></li> <li class="-item"><a href="https://gamedev.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="professional and independent game developers">Game Development</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Technology"><ul class="-list"> <li class="-item"><a href="https://tex.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="users of TeX, LaTeX, ConTeXt, and related typesetting systems">TeX - LaTeX</a></li> <li class="-item"><a href="https://softwareengineering.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="professionals, academics, and students working within the systems development life cycle">Software Engineering</a></li> <li class="-item"><a href="https://unix.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="users of Linux, FreeBSD and other Un*x-like operating systems">Unix &amp; Linux</a></li> <li class="-item"><a href="https://apple.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="power users of Apple hardware and software">Ask Different (Apple)</a></li> <li class="-item"><a href="https://wordpress.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="WordPress developers and administrators">WordPress Development</a></li> <li class="-item"><a href="https://gis.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="cartographers, geographers and GIS professionals">Geographic Information Systems</a></li> <li class="-item"><a href="https://electronics.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="electronics and electrical engineering professionals, students, and enthusiasts">Electrical Engineering</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Technology"><ul class="-list"> <li class="-item"><a href="https://android.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="enthusiasts and power users of the Android operating system">Android Enthusiasts</a></li> <li class="-item"><a href="https://security.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="information security professionals">Information Security</a></li> <li class="-item"><a href="https://dba.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="database professionals who wish to improve their database skills and learn from others in the community">Database Administrators</a></li> <li class="-item"><a href="https://drupal.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="Drupal developers and administrators">Drupal Answers</a></li> <li class="-item"><a href="https://sharepoint.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="SharePoint enthusiasts">SharePoint</a></li> <li class="-item"><a href="https://ux.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="user experience researchers and experts">User Experience</a></li> <li class="-item"><a href="https://mathematica.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="users of Wolfram Mathematica">Mathematica</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Technology"><ul class="-list"> <li class="-item"><a href="https://salesforce.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="Salesforce administrators, implementation experts, developers and anybody in-between">Salesforce</a></li> <li class="-item"><a href="https://expressionengine.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="administrators, end users, developers and designers for ExpressionEngine&#174; CMS">ExpressionEngine&#174; Answers</a></li> <li class="-item"><a href="https://pt.stackoverflow.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="programadores profissionais e entusiastas">Stack Overflow em Portugu&#234;s</a></li> <li class="-item"><a href="https://blender.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="people who use Blender to create 3D graphics, animations, or games">Blender</a></li> <li class="-item"><a href="https://networkengineering.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="network engineers">Network Engineering</a></li> <li class="-item"><a href="https://crypto.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="software developers, mathematicians and others interested in cryptography">Cryptography</a></li> <li class="-item"><a href="https://codereview.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="peer programmer code reviews">Code Review</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Technology"><ul class="-list"> <li class="-item"><a href="https://magento.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="users of the Magento e-Commerce platform">Magento</a></li> <li class="-item"><a href="https://softwarerecs.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="people seeking specific software recommendations">Software Recommendations</a></li> <li class="-item"><a href="https://dsp.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="practitioners of the art and science of signal, image and video processing">Signal Processing</a></li> <li class="-item"><a href="https://emacs.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="those using, extending or developing Emacs">Emacs</a></li> <li class="-item"><a href="https://raspberrypi.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="users and developers of hardware and software for Raspberry Pi">Raspberry Pi</a></li> <li class="-item"><a href="https://ru.stackoverflow.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="программистов">Stack Overflow на русском</a></li> <li class="-item"><a href="https://codegolf.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="programming puzzle enthusiasts and code golfers">Programming Puzzles &amp; Code Golf</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Technology"><ul class="-list"> <li class="-item"><a href="https://es.stackoverflow.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="programadores y profesionales de la inform&#225;tica">Stack Overflow en espa&#241;ol</a></li> <li class="-item"><a href="https://ethereum.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="users of Ethereum, the decentralized application platform and smart contract enabled blockchain">Ethereum</a></li> <li class="-item"><a href="https://datascience.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="Data science professionals, Machine Learning specialists, and those interested in learning more about the field">Data Science</a></li> <li class="-item"><a href="https://arduino.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="developers of open-source hardware and software that is compatible with Arduino">Arduino</a></li> <li class="-item"><a href="https://bitcoin.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="Bitcoin crypto-currency enthusiasts">Bitcoin</a></li> <li class="-item"> <a href="https://stackexchange.com/sites#technology" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 26 })"> <strong> more (30) </strong> </a> </li> </ul> </div> <div class="site-footer--col site-footer--category js-footer-col" data-name="Life / Arts"> <ul class="-list"> <li class="-item"><a href="https://photo.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="professional, enthusiast and amateur photographers">Photography</a></li> <li class="-item"><a href="https://scifi.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="science fiction and fantasy enthusiasts">Science Fiction &amp; Fantasy</a></li> <li class="-item"><a href="https://graphicdesign.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="Graphic Design professionals, students, and enthusiasts">Graphic Design</a></li> <li class="-item"><a href="https://movies.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="movie and tv enthusiasts">Movies &amp; TV</a></li> <li class="-item"><a href="https://music.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="musicians, students, and enthusiasts">Music: Practice &amp; Theory</a></li> <li class="-item"><a href="https://worldbuilding.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="writers/artists using science, geography and culture to construct imaginary worlds and settings">Worldbuilding</a></li> <li class="-item"><a href="https://cooking.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="professional and amateur chefs">Seasoned Advice (cooking)</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Life / Arts"><ul class="-list"> <li class="-item"><a href="https://diy.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="contractors and serious DIYers">Home Improvement</a></li> <li class="-item"><a href="https://money.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="people who want to be financially literate">Personal Finance &amp; Money</a></li> <li class="-item"><a href="https://academia.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="academics and those enrolled in higher education">Academia</a></li> <li class="-item"><a href="https://law.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="legal professionals, students, and others with experience or interest in law">Law</a></li> <li class="-item"> <a href="https://stackexchange.com/sites#lifearts" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 26 })"> <strong> more (15) </strong> </a> </li> </ul> </div> <div class="site-footer--col site-footer--category js-footer-col" data-name="Culture / Recreation"> <ul class="-list"> <li class="-item"><a href="https://english.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="linguists, etymologists, and serious English language enthusiasts">English Language &amp; Usage</a></li> <li class="-item"><a href="https://skeptics.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="scientific skepticism">Skeptics</a></li> <li class="-item"><a href="https://judaism.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="those who base their lives on Jewish law and tradition and anyone interested in learning more">Mi Yodeya (Judaism)</a></li> <li class="-item"><a href="https://travel.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="road warriors and seasoned travelers">Travel</a></li> <li class="-item"><a href="https://christianity.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="committed Christians, experts in Christianity and those interested in learning more">Christianity</a></li> <li class="-item"><a href="https://ell.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="speakers of other languages learning English">English Language Learners</a></li> <li class="-item"><a href="https://japanese.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="students, teachers, and linguists wanting to discuss the finer points of the Japanese language">Japanese Language</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Culture / Recreation"><ul class="-list"> <li class="-item"><a href="https://gaming.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="passionate videogamers on all platforms">Arqade (gaming)</a></li> <li class="-item"><a href="https://bicycles.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="people who build and repair bicycles, people who train cycling, or commute on bicycles">Bicycles</a></li> <li class="-item"><a href="https://rpg.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="gamemasters and players of tabletop, paper-and-pencil role-playing games">Role-playing Games</a></li> <li class="-item"><a href="https://anime.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="anime and manga fans">Anime &amp; Manga</a></li> <li class="-item"><a href="https://puzzling.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="those who create, solve, and study puzzles">Puzzling</a></li> <li class="-item"><a href="https://mechanics.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="mechanics and DIY enthusiast owners of cars, trucks, and motorcycles">Motor Vehicle Maintenance &amp; Repair</a></li> <li class="-item"> <a href="https://stackexchange.com/sites#culturerecreation" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 26 })"> <strong> more (33) </strong> </a> </li> </ul> </div> <div class="site-footer--col site-footer--category js-footer-col" data-name="Science"> <ul class="-list"> <li class="-item"><a href="https://mathoverflow.net" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="professional mathematicians">MathOverflow</a></li> <li class="-item"><a href="https://math.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="people studying math at any level and professionals in related fields">Mathematics</a></li> <li class="-item"><a href="https://stats.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="people interested in statistics, machine learning, data analysis, data mining, and data visualization">Cross Validated (stats)</a></li> <li class="-item"><a href="https://cstheory.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="theoretical computer scientists and researchers in related fields">Theoretical Computer Science</a></li> <li class="-item"><a href="https://physics.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="active researchers, academics and students of physics">Physics</a></li> <li class="-item"><a href="https://chemistry.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="scientists, academics, teachers, and students in the field of chemistry">Chemistry</a></li> <li class="-item"><a href="https://biology.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="biology researchers, academics, and students">Biology</a></li> </ul></div><div class="site-footer--col site-footer--category js-footer-col" data-name="Science"><ul class="-list"> <li class="-item"><a href="https://cs.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="students, researchers and practitioners of computer science">Computer Science</a></li> <li class="-item"><a href="https://philosophy.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="those interested in the study of the fundamental nature of knowledge, reality, and existence">Philosophy</a></li> <li class="-item"> <a href="https://stackexchange.com/sites#science" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 26 })"> <strong> more (10) </strong> </a> </li> </ul> </div> <div class="site-footer--col site-footer--category js-footer-col" data-name="Other"> <ul class="-list"> <li class="-item"><a href="https://meta.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="meta-discussion of the Stack Exchange family of Q&amp;A websites">Meta Stack Exchange</a></li> <li class="-item"><a href="https://stackapps.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="apps, scripts, and development with the Stack Exchange API">Stack Apps</a></li> <li class="-item"><a href="https://api.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="programmatic interaction with Stack Exchange sites">API</a></li> <li class="-item"><a href="https://data.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="querying Stack Exchange data using SQL">Data</a></li> <li class="-item"><a href="https://area51.stackexchange.com" class="-link js-gps-track" data-gps-track="footer.click({ location: 0, link: 25 })" title="proposing new sites in the Stack Exchange network">Area 51</a></li> </ul> </div> </div> </nav> <div class="site-footer--copyright fs-fine"> <ul class="-list"> <li class="-item"><a class="js-gps-track -link" data-gps-track="footer.click({ location: 2, link:4 })" href="https://stackoverflow.blog?blb=1">Blog</a></li> <li class="-item"><a href="https://www.facebook.com/officialstackoverflow/" class="-link">Facebook</a></li> <li class="-item"><a href="https://twitter.com/stackoverflow" class="-link">Twitter</a></li> <li class="-item"><a href="https://linkedin.com/company/stack-overflow" class="-link">LinkedIn</a></li> </ul> <p class="mt-auto mb24"> site design / logo &#169; 2018 Stack Exchange Inc; user contributions licensed under <a href="https://creativecommons.org/licenses/by-sa/3.0/" rel="license">cc by-sa 3.0</a> with <a href="https://stackoverflow.blog/2009/06/25/attribution-required/" rel="license">attribution required</a>. <span id="svnrev">rev&nbsp;2018.9.14.31567</span> </p> </div> </div> </footer> <script>StackExchange.ready(function () { StackExchange.responsiveness.addSwitcher(); })</script> <noscript> <div id="noscript-warning">Stack Overflow works best with JavaScript enabled </div> </noscript> <script> (function(i, s, o, g, r, a, m) { i[\'GoogleAnalyticsObject\'] = r; i[r] = i[r] || function() { (i[r].q = i[r].q || []).push(arguments) }, i[r].l = 1 * new Date(); a = s.createElement(o), m = s.getElementsByTagName(o)[0]; a.async = 1; a.src = g; m.parentNode.insertBefore(a, m); })(window, document, \'script\', \'https://www.google-analytics.com/analytics.js\', \'ga\'); StackExchange.ready(function () { StackExchange.ga.init({ sendTitles: true, tracker: window.ga, trackingCodes: [ \'UA-108242619-1\' ] }); StackExchange.ga.setDimension(\'dimension1\', \'1082680\'); StackExchange.ga.setDimension(\'dimension10\', \'ActivelyLooking\'); StackExchange.ga.setDimension(\'dimension2\', \'|c#|.net|web|\'); StackExchange.ga.setDimension(\'dimension3\', \'Questions/Show\'); StackExchange.ga.trackPageView(); }); /**/ var _qevents = _qevents || [], _comscore = _comscore || []; (function() { var ssl = \'https:\' == document.location.protocol, s = document.getElementsByTagName(\'script\')[0], qc = document.createElement(\'script\'); qc.async = true; qc.src = (ssl ? \'https://secure\' : \'http://edge\') + \'.quantserve.com/quant.js\'; s.parentNode.insertBefore(qc, s); _qevents.push({ qacct: "p-c1rF4kxgLUzNc" }); /**/ var sc = document.createElement(\'script\'); sc.async = true; sc.src = (ssl ? \'https://sb\' : \'http://b\') + \'.scorecardresearch.com/beacon.js\'; s.parentNode.insertBefore(sc, s); _comscore.push({ c1: "2", c2: "17440561" }); })(); </script> </body> </html> '; 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