<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Reqular Expression 101 in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326224#M97288</link>
    <description>&lt;P&gt;There are several different implementations of Regular Expression engines, all commonly called &lt;CODE&gt;RegEx&lt;/CODE&gt;.  Make sure that whatever you are reading/using is for &lt;CODE&gt;Perl Compatible Regular Expressions&lt;/CODE&gt;, which is the flavor that Splunk uses.&lt;/P&gt;</description>
    <pubDate>Fri, 08 Sep 2017 03:56:04 GMT</pubDate>
    <dc:creator>woodcock</dc:creator>
    <dc:date>2017-09-08T03:56:04Z</dc:date>
    <item>
      <title>Reqular Expression 101</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326221#M97285</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;

&lt;P&gt;I am a new to Regular Expression topic, Could you please share me a link which help me  to understand Regular Expression for splunk ?&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 22:12:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326221#M97285</guid>
      <dc:creator>rakeshksingh</dc:creator>
      <dc:date>2017-09-07T22:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reqular Expression 101</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326222#M97286</link>
      <description>&lt;P&gt;Hi rakeshksingh,&lt;/P&gt;

&lt;P&gt;Have a look at the docs here &lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/AboutSplunkregularexpressions"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Knowledge/AboutSplunkregularexpressions&lt;/A&gt; and try the online regex tool called &lt;A href="http://www.regex101.com"&gt;www.regex101.com&lt;/A&gt; which works perfect for Splunk regex. Another benefit of regex101.com is that it provides detailed explanation who and why it does match or does not match &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;Hope this helps ...&lt;/P&gt;

&lt;P&gt;cheers, MuS&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 22:51:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326222#M97286</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2017-09-07T22:51:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reqular Expression 101</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326223#M97287</link>
      <description>&lt;P&gt;Also watch Gabriel Vasseur's excellent presentation from last year's .conf:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://conf.splunk.com/files/2016/recordings/become-a-regular-expressions-ninja-and-unlock-your-splunk-potential.mp4"&gt;http://conf.splunk.com/files/2016/recordings/become-a-regular-expressions-ninja-and-unlock-your-splunk-potential.mp4&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;With the accompanying PDF of the presentation found here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://conf.splunk.com/files/2016/slides/become-a-regular-expressions-ninja-and-unlock-your-splunk-potential.pdf"&gt;http://conf.splunk.com/files/2016/slides/become-a-regular-expressions-ninja-and-unlock-your-splunk-potential.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;He does a tutorial on using regular expressions. Very helpful.&lt;/P&gt;</description>
      <pubDate>Thu, 07 Sep 2017 23:08:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326223#M97287</guid>
      <dc:creator>cpetterborg</dc:creator>
      <dc:date>2017-09-07T23:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Reqular Expression 101</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326224#M97288</link>
      <description>&lt;P&gt;There are several different implementations of Regular Expression engines, all commonly called &lt;CODE&gt;RegEx&lt;/CODE&gt;.  Make sure that whatever you are reading/using is for &lt;CODE&gt;Perl Compatible Regular Expressions&lt;/CODE&gt;, which is the flavor that Splunk uses.&lt;/P&gt;</description>
      <pubDate>Fri, 08 Sep 2017 03:56:04 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326224#M97288</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-09-08T03:56:04Z</dc:date>
    </item>
    <item>
      <title>Re: Reqular Expression 101</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326225#M97289</link>
      <description>&lt;P&gt;The regex101.com site that @MuS mentioned has checkboxes on the left to select what "flavor" of regular expression to use. As @woodcock pointed out, Splunk uses Perl Compatible Regular Expressions (PCRE). Just make sure the PCRE box is checked on regex101.com and you are good to go.&lt;/P&gt;

&lt;P&gt;In Splunk, flags can be added to regular expressions by preceding them with (?flag). So, if you are looking to parse multi-line logs, you can add &lt;CODE&gt;(?m)&lt;/CODE&gt; to the beginning. On the regex101.com site, you'll find a flag symbol to the right of the regular expression box. Click on that flag and it has checkboxes for any flag you want to have set for that regular expression.&lt;/P&gt;

&lt;P&gt;Besides all the other sources mentioned my MuS and other commenters, there is also a tutorial here:&lt;/P&gt;

&lt;P&gt;&lt;A href="http://www.regular-expressions.info/tutorial.html"&gt;http://www.regular-expressions.info/tutorial.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Sep 2017 20:45:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Reqular-Expression-101/m-p/326225#M97289</guid>
      <dc:creator>wrangler2x</dc:creator>
      <dc:date>2017-09-22T20:45:06Z</dc:date>
    </item>
  </channel>
</rss>

