{"id":4287,"date":"2022-01-19T15:19:05","date_gmt":"2022-01-19T15:19:05","guid":{"rendered":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/"},"modified":"2022-01-19T15:19:05","modified_gmt":"2022-01-19T15:19:05","slug":"a-guide-to-regular-expressions-with-use-cases","status":"publish","type":"post","link":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/","title":{"rendered":"A Guide To Regular Expressions (With Use Cases)"},"content":{"rendered":"<p> <a href=\"https:\/\/go.fiverr.com\/visit\/?bta=1052423&nci=17043\" Target=\"_Top\"><img loading=\"lazy\" decoding=\"async\" border=\"0\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/fiverr.ck-cdn.com\/tn\/serve\/?cid=40081059\"  width=\"601\" height=\"201\"><\/a>\n<br \/><img decoding=\"async\" src=\"https:\/\/mailinvest.blog\/wp-content\/themes\/breek\/assets\/images\/transparent.gif\" data-lazy=\"true\" data-src=\"https:\/\/cdn.searchenginejournal.com\/wp-content\/uploads\/2022\/01\/regex-seo-61e5c3019676b-sej.png\" \/><\/p>\n<div id=\"narrow-cont\">\n<p>Perhaps you\u2019ve heard of regex but aren\u2019t quite sure how it can be used in SEO or whether it fits into your own strategy.<\/p>\n<p>Regular expressions, or \u2018regex\u2019, are like an in-line programming language for text searches that allow you to include complex search strings, partial matches and wildcards, case-insensitive searches, and other advanced instructions.<\/p>\n<p>You can think of them as searching for a pattern, rather than a specific string of text.<\/p>\n<p>Therefore, they can help you to find entire sets of search results that, at first glance, may appear to have little in common with each other.<\/p>\n<p>Regex expressions are a language all their own and the first time you see one, it can look quite alien.<\/p>\n<p>But they are quite easy to learn and can be used across <a href=\"https:\/\/www.searchenginejournal.com\/javascript-101-seo\/373769\/\">JavaScript<\/a>, <a href=\"https:\/\/www.searchenginejournal.com\/python-machine-learning-technical-seo\/430000\/\">Python<\/a> and other programming languages, making them a versatile and powerful SEO tool.<\/p>\n<p>In this guide, you\u2019ll learn common regex operators, how to use more advanced regex filters for SEO, how to use regex in Google Analytics and Google Search Console, and more.<\/p>\n<p>You\u2019ll find examples of regex at work in different ways in SEO, too.<\/p>\n<h2>What Does Regex Look Like?<\/h2>\n<p>A regular expression typically includes a combination of text that will match exactly in the search results, along with several operators that act more like wildcards to achieve a pattern match rather than an exact text match.<\/p>\n<p>This can include a single-character wildcard, a match for one or more characters, or a match for zero or more characters, as well as optional characters, nested sub-expressions in parentheses, and \u2018or\u2019 functions.<\/p>\n<p>By combining these different operations together, you can build a complex expression that can achieve very far-reaching, yet very specific results.<\/p>\n<h3>Common Regex Operators<\/h3>\n<p>A few examples of common regex operators include:<\/p>\n<p>.\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A wildcard match for any single character.<\/p>\n<p>.*\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A match for zero or more characters.<\/p>\n<p>.+\u00a0\u00a0\u00a0\u00a0\u00a0 A match for one or more characters.<\/p>\n<p>d\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A match for any single numerical digit 0-9.<\/p>\n<p>?\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Inserted after a character to make it an optional part of the expression.<\/p>\n<p>|\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 A vertical line or \u2018pipe\u2019 character indicates an \u2018or\u2019 function.<\/p>\n<p>^\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Used to denote the start of a string.<\/p>\n<p>$\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Used to denote the end of a string.<\/p>\n<p>( )\u00a0 \u00a0 \u00a0 Used to nest a sub-expression.<\/p>\n<p>\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Inserted before an operator or special character to \u2018escape\u2019 it.<\/p>\n<p>Some programming languages, such as JavaScript, allow the inclusion of \u2018flags\u2019 after the regex pattern itself, and these can further affect the outcome:<\/p>\n<p>g\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Returns all matches instead of just the first one.<\/p>\n<p>i\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Returns case-insensitive results.<\/p>\n<p>m\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Activates multiline mode.<\/p>\n<p>s\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Activates \u2018dotall\u2019 mode.<\/p>\n<p>u\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Activates full Unicode support.<\/p>\n<p>y\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 Searches the specific text position (\u2018sticky\u2019 mode).<\/p>\n<p>As you can see, together these operators and flags start to build up to a complex logical language, giving you the ability to achieve very specific results across large, unordered data sets.<\/p>\n<h2>How Do You Use Regex For SEO?<\/h2>\n<p>Regex can be used to explore the queries different user segments use, which queries are common to specific content areas, which queries drive traffic to specific parts of your site, and more.<\/p>\n<p>In <a href=\"https:\/\/www.searchenginejournal.com\/python-seo-data-reference-guide\/287927\/\">this article<\/a>, Hamlet Batista demonstrated how to use regex in Python to analyze server log files, for example.<\/p>\n<p>And in <a href=\"https:\/\/www.searchenginejournal.com\/keyword-segmentation\/422603\/\">this one<\/a>, Chris Long showed you how to use regex to extract the position, item, and name of the breadcrumbs associated with each URL of your site as part of a scalable keyword research and segmentation process.<\/p>\n<p><a href=\"https:\/\/developers.google.com\/search\/blog\/2021\/06\/regex-negative-match\" target=\"_blank\" rel=\"noopener\">Google encourages<\/a> SEO pros to share examples of how they\u2019re using regex on Twitter using the hashtag <a href=\"https:\/\/twitter.com\/search?q=%23performanceregex&amp;f=live\" target=\"_blank\" rel=\"noopener\">#performanceregex<\/a>.<\/p>\n<p>Here are a couple tips from SEO Twitter (you\u2019ll notice it\u2019s a pretty quiet hashtag \u2013 add your own examples if you have them!):<\/p>\n<blockquote class=\"twitter-tweet\">\n<p dir=\"ltr\" lang=\"en\">Use slug$ in a filter to see a list of every page\/keyword that ends on \u201cslug\u201d. Very important if you have to manage large websites ?<a href=\"https:\/\/twitter.com\/hashtag\/performanceregex?src=hash&amp;ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">#performanceregex<\/a><\/p>\n<p>\u2014 hannes-jeremia jaacks (@HannesJaacks) <a href=\"https:\/\/twitter.com\/HannesJaacks\/status\/1476957209796005894?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">December 31, 2021<\/a><\/p>\n<\/blockquote>\n<blockquote class=\"twitter-tweet\">\n<p dir=\"ltr\" lang=\"en\">I\u2019ve compiled quite an extensive library of <a href=\"https:\/\/twitter.com\/hashtag\/regularexpressions?src=hash&amp;ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">#regularexpressions<\/a> for <a href=\"https:\/\/twitter.com\/hashtag\/googlesearchconsole?src=hash&amp;ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">#googlesearchconsole<\/a>. ?<\/p>\n<p>Hit me with any other ideas, happy to add them. <a href=\"https:\/\/twitter.com\/danielwaisberg?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">@danielwaisberg<\/a> <a href=\"https:\/\/twitter.com\/DanielHereMe?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">@DanielHereMe<\/a> <a href=\"https:\/\/twitter.com\/CyrusShepard?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">@CyrusShepard<\/a> <a href=\"https:\/\/twitter.com\/5le?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">@5le<\/a> <a href=\"https:\/\/twitter.com\/DataChaz?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">@DataChaz<\/a> <a href=\"https:\/\/twitter.com\/hashtag\/performanceregex?src=hash&amp;ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">#performanceregex<\/a> <a href=\"https:\/\/twitter.com\/hashtag\/regex?src=hash&amp;ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">#regex<\/a> <a href=\"https:\/\/twitter.com\/hashtag\/seo?src=hash&amp;ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">#seo<\/a> <a href=\"https:\/\/t.co\/BKX9UCGrOU\" target=\"_blank\" rel=\"noopener\">https:\/\/t.co\/BKX9UCGrOU<\/a><\/p>\n<p>\u2014 JC Chouinard (@ChouinardJC) <a href=\"https:\/\/twitter.com\/ChouinardJC\/status\/1405471189653360646?ref_src=twsrc%5Etfw\" target=\"_blank\" rel=\"noopener\">June 17, 2021<\/a><\/p>\n<\/blockquote>\n<h2>Using Regex On Google Analytics<\/h2>\n<p>One of the most common uses of regex for SEO is in <a href=\"https:\/\/www.searchenginejournal.com\/google-analytics-4-guide\/407452\/\">Google Analytics<\/a>, where regular expressions can be used to set up filters so that you only see the data you want to see.<\/p>\n<p>In this sense, the expression is used to exclude results, rather than to generate a set of inclusive search results.<\/p>\n<p>For example, if you want to exclude data from IP addresses on your local area network, you might filter out 192.168.*.* to remove the full range from 192.168.0.0 to 192.168.255.255.<\/p>\n<h3>More Advanced Regex SEO Filters<\/h3>\n<p>As a more complex example, let\u2019s imagine you have two brands: regex247 and regex365.<\/p>\n<p>You might want to filter results that match any combination of URLs that contain these brand names, such as regex247.biz or www.regex365.org.<\/p>\n<p>One way to do this is with a fairly simple \u2018or\u2019 expression:<\/p>\n<p>.*regex247.*|.*regex365.*<\/p>\n<p>This would remove all matching URLs from your Analytics data, including subfolder paths and specific page URLs that appear on those domain names.<\/p>\n<h3>A Word Of Warning<\/h3>\n<p>It is worth noting that \u2013 similar to your robots.txt file \u2013 a poorly written regex expression can quite easily filter out most or all of your data by including an unrestricted wildcard match.<\/p>\n<p>The good news is that in many SEO cases, the filter is only applied to your data at the reporting stage, and by editing or deleting your regex expression, you can restore full visibility to your data.<\/p>\n<p>You can also test regular expressions on a number of online testing tools, in order to see if they achieve the intended outcome \u2013 allowing you to \u2018sandbox\u2019 your regex expressions before you let them loose across your entire data set.<\/p>\n<p>To create regex filters on Google Analytics, first, navigate to the type of Report you want to create (e.g. <em>Behaviour<\/em> &gt; <em>Site Content<\/em> &gt; <em>All Pages<\/em> or <em>Acquisition<\/em> &gt; <em>All Traffic<\/em> &gt; <em>Source<\/em>\/<em>Medium<\/em>).<\/p>\n<p>Below the graph, at the top of the data table, look for the search box and click <em>advanced<\/em> to display the advanced filter options.<\/p>\n<p>Here you can include or exclude data based on a particular dimension or metric. In the dropdown list after you select your dimension, choose <em>Matching RegExp<\/em> and then enter your expression into the text box.<\/p>\n<h3>\u2018Or\u2019 And \u2018And\u2019 In Google Analytics Regex<\/h3>\n<p>To create an \u2018or\u2019 expression in Google Analytics, just include the pipe character (the | vertical stroke symbol) between the appropriate segments of your expression.<\/p>\n<p>Google Analytics regular expressions do not support \u2018and\u2019 statements within a single regex; however, you can just add another filter to achieve this.<\/p>\n<p>Below your first regex, just click <em>Add a dimension or metric<\/em> and enter your next regex. In this way, you can stack as many expressions as you want and they will be processed as a single logical \u2018and\u2019 statement when filtering your data.<\/p>\n<h2>Using Regex In Google Search Console<\/h2>\n<p>In 2021, Google Search Console began supporting the Re2 syntax of regex, allowing webmasters to include and exclude data within the user interface.<\/p>\n<p>You\u2019ll find all metacharacters supported by Google Search Console in <a href=\"https:\/\/github.com\/google\/re2\/blob\/main\/doc\/syntax.txt\" target=\"_blank\" rel=\"noopener\">this RE2 regex syntax reference<\/a> on GitHub.<\/p>\n<p>At the time of writing, there is a character limit of 4096 characters (which is usually enough\u2026).<\/p>\n<p>Examples you can use in Search Console can be filtering for queries containing a specific brand and the variations users could type, such as Facebook:<\/p>\n<p>.*facebook.*|face*book.*|fb.*|fbook.*|f*book.*<\/p>\n<p>Filter out users finding your website through \u201ccommercial\u201d intent terms:<\/p>\n<p>.*(best|top|alternate|alternative|vs|versus|review*).*<\/p>\n<p>Related: <a href=\"https:\/\/www.searchenginejournal.com\/google-search-console-adds-new-regex-filter-options\/409177\/\"><em>Google Search Console Adds New Regex Filter Options<\/em><\/a><\/p>\n<h2>Why Is Regex Important For SEO?<\/h2>\n<p>Finally, why does all this matter?<\/p>\n<p>Well, it\u2019s all about taking control of your data and filtering out the parts of it that don\u2019t help you to improve your SEO \u2013 whether that\u2019s particular pages or parts of your website, traffic from a specific source or medium, or your own local network data.<\/p>\n<p>You can create quite simple regex expressions to achieve a basic \u2018include\u2019 or \u2018exclude\u2019 filter, or write longer expressions that work similarly to programming code to achieve complex and very specific results.<\/p>\n<p>And with the right regex for each campaign, you can verify that your SEO efforts are achieving your aims, ambitions, and outcomes \u2013 a powerful way to <a href=\"https:\/\/www.searchenginejournal.com\/seomonitor-prove-seo-roi-overall-business-impact\/414089\/\">prove positive ROI<\/a> on your future SEO investments.<\/p>\n<p><strong>More resources:<\/strong><\/p>\n<hr\/>\n<p><em>Featured Image: Optura Design\/Shutterstock<\/em><\/p>\n<\/div>\n<p><script async src=\"https:\/\/platform.twitter.com\/widgets.js\" charset=\"utf-8\"><\/script><br \/>\n<br \/><iframe data-lazy=\"true\" data-src=\"https:\/\/www.fiverr.com\/gig_widgets?id=U2FsdGVkX18x7XQvttUTrv1oEqmGNGTgvvCUiUoJ\/AP4z\/UyMz8lXGOLpu15jIMxBbTR0gmD5uBoFvhC4KWeALQRp3h\/X\/AwcVD0K8Wj9H\/ZzYKzcCNHosB9oS4SCJJFWiN85P9ICAc4OgCoE\/wHKIY7CDkf2\/DQ1vqGvk4smVe5cRDEmrLPCWi4FC8p40VUhSmWQ5udCm0zoJtorgWv3vbDQw0kKYkwn39ozAnQXDe+YvWMxkLFWA+O3TFwkJvdkIK+\/AUSnRssPKt5WHY0FhNOxnSPcLslEL4G4\/RfP95ve99U+kRnDy3X+KtzdQLY+u935ghON\/o3UE4IMv9oN6JX9RnxzL\/LRcOgnHigxStSGPKsZYtnz8RWNVT\/rOLAibqiWJadC5MYHRbekF3eg6FOGrQGkXYbsn0+a5aovnlLCbLwIqY9fcS17UX8J235iQ6cdmHNbrPeS84CMm34RA==&affiliate_id=1052423&strip_google_tagmanager=true\" loading=\"lazy\" data-with-title=\"true\" class=\"fiverr_nga_frame\" frameborder=\"0\" height=\"350\" width=\"100%\" referrerpolicy=\"no-referrer-when-downgrade\" data-mode=\"random_gigs\" onload=\" var frame = this; var script = document.createElement('script'); script.addEventListener('load', function() { window.FW_SDK.register(frame); }); script.setAttribute('src', 'https:\/\/www.fiverr.com\/gig_widgets\/sdk'); document.body.appendChild(script); \" ><\/iframe>\n<br \/><a href=\"https:\/\/www.searchenginejournal.com\/regex-seo-beginners-guide\/432930\/\">Source link <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Perhaps you\u2019ve heard of regex but aren\u2019t quite sure how it can be used in SEO or whether it fits into your own strategy. Regular&#8230;<\/p>\n","protected":false},"author":1,"featured_media":4288,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-4287","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tech-universe"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>A Guide To Regular Expressions (With Use Cases) - mailinvest.blog<\/title>\n<meta name=\"description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"A Guide To Regular Expressions (With Use Cases) - mailinvest.blog\" \/>\n<meta property=\"og:description\" content=\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/\" \/>\n<meta property=\"og:site_name\" content=\"mailinvest.blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/freelanceracademic\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-19T15:19:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/regex-seo-61e5c3019676b-sej.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1600\" \/>\n\t<meta property=\"og:image:height\" content=\"840\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin@mailinvest.blog\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin@mailinvest.blog\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"7 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/\"},\"author\":{\"name\":\"admin@mailinvest.blog\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\"},\"headline\":\"A Guide To Regular Expressions (With Use Cases)\",\"datePublished\":\"2022-01-19T15:19:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/\"},\"wordCount\":1422,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/regex-seo-61e5c3019676b-sej.png\",\"articleSection\":[\"Tech Universe\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/\",\"name\":\"A Guide To Regular Expressions (With Use Cases) - mailinvest.blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/regex-seo-61e5c3019676b-sej.png\",\"datePublished\":\"2022-01-19T15:19:05+00:00\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#primaryimage\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/regex-seo-61e5c3019676b-sej.png\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/regex-seo-61e5c3019676b-sej.png\",\"width\":1600,\"height\":840},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/2022\\\/01\\\/19\\\/a-guide-to-regular-expressions-with-use-cases\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mailinvest.blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"A Guide To Regular Expressions (With Use Cases)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#website\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"name\":\"mailinvest.blog\",\"description\":\"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.\",\"publisher\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/mailinvest.blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#organization\",\"name\":\"mailinvest\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"contentUrl\":\"https:\\\/\\\/mailinvest.blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/default.png\",\"width\":1000,\"height\":1000,\"caption\":\"mailinvest\"},\"image\":{\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/freelanceracademic\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mailinvest.blog\\\/#\\\/schema\\\/person\\\/012701c4c204d4e4ebd34f926cfd31a4\",\"name\":\"admin@mailinvest.blog\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g\",\"caption\":\"admin@mailinvest.blog\"},\"sameAs\":[\"https:\\\/\\\/mailinvest.blog\",\"admin@mailinvest.blog\"],\"url\":\"https:\\\/\\\/mailinvest.blog\\\/index.php\\\/author\\\/adminmailinvest-blog\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"A Guide To Regular Expressions (With Use Cases) - mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/","og_locale":"en_US","og_type":"article","og_title":"A Guide To Regular Expressions (With Use Cases) - mailinvest.blog","og_description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","og_url":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/","og_site_name":"mailinvest.blog","article_publisher":"https:\/\/www.facebook.com\/freelanceracademic\/","article_published_time":"2022-01-19T15:19:05+00:00","og_image":[{"width":1600,"height":840,"url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/regex-seo-61e5c3019676b-sej.png","type":"image\/png"}],"author":"admin@mailinvest.blog","twitter_card":"summary_large_image","twitter_misc":{"Written by":"admin@mailinvest.blog","Est. reading time":"7 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#article","isPartOf":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/"},"author":{"name":"admin@mailinvest.blog","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4"},"headline":"A Guide To Regular Expressions (With Use Cases)","datePublished":"2022-01-19T15:19:05+00:00","mainEntityOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/"},"wordCount":1422,"commentCount":0,"publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/regex-seo-61e5c3019676b-sej.png","articleSection":["Tech Universe"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/","url":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/","name":"A Guide To Regular Expressions (With Use Cases) - mailinvest.blog","isPartOf":{"@id":"https:\/\/mailinvest.blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#primaryimage"},"image":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#primaryimage"},"thumbnailUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/regex-seo-61e5c3019676b-sej.png","datePublished":"2022-01-19T15:19:05+00:00","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis.mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what's new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","breadcrumb":{"@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#primaryimage","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/regex-seo-61e5c3019676b-sej.png","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/regex-seo-61e5c3019676b-sej.png","width":1600,"height":840},{"@type":"BreadcrumbList","@id":"https:\/\/mailinvest.blog\/index.php\/2022\/01\/19\/a-guide-to-regular-expressions-with-use-cases\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mailinvest.blog\/"},{"@type":"ListItem","position":2,"name":"A Guide To Regular Expressions (With Use Cases)"}]},{"@type":"WebSite","@id":"https:\/\/mailinvest.blog\/#website","url":"https:\/\/mailinvest.blog\/","name":"mailinvest.blog","description":"Technology is forever changing, and there are always new pieces of technology to replace obsolete ones. Tons of people enjoy reading tech blogs on a daily basis. mailinvest.blog tracks all the latest consumer technology breakthroughs and shows you what&#039;s new, what matters and how technology can enrich your life. mailinvest.blog also provides the information, tools, and advice that helps when deciding what to buy.","publisher":{"@id":"https:\/\/mailinvest.blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mailinvest.blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/mailinvest.blog\/#organization","name":"mailinvest","url":"https:\/\/mailinvest.blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/","url":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","contentUrl":"https:\/\/mailinvest.blog\/wp-content\/uploads\/2022\/01\/default.png","width":1000,"height":1000,"caption":"mailinvest"},"image":{"@id":"https:\/\/mailinvest.blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/freelanceracademic\/"]},{"@type":"Person","@id":"https:\/\/mailinvest.blog\/#\/schema\/person\/012701c4c204d4e4ebd34f926cfd31a4","name":"admin@mailinvest.blog","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/98ed217bd0f3d6a6dcae2d9b0c76e305b049a07275e315e1407e19ec8b08e139?s=96&d=mm&r=g","caption":"admin@mailinvest.blog"},"sameAs":["https:\/\/mailinvest.blog","admin@mailinvest.blog"],"url":"https:\/\/mailinvest.blog\/index.php\/author\/adminmailinvest-blog\/"}]}},"_links":{"self":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/4287","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/comments?post=4287"}],"version-history":[{"count":0,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/posts\/4287\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media\/4288"}],"wp:attachment":[{"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/media?parent=4287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/categories?post=4287"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mailinvest.blog\/index.php\/wp-json\/wp\/v2\/tags?post=4287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}