<?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 Is there any online regex tool to create regular expressions for given sample data ? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197684#M57124</link>
    <description>&lt;P&gt;Is there any online regex tool to create regular expressions for given sample data ?&lt;/P&gt;</description>
    <pubDate>Thu, 28 Aug 2014 09:05:25 GMT</pubDate>
    <dc:creator>splunker12er</dc:creator>
    <dc:date>2014-08-28T09:05:25Z</dc:date>
    <item>
      <title>Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197684#M57124</link>
      <description>&lt;P&gt;Is there any online regex tool to create regular expressions for given sample data ?&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 09:05:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197684#M57124</guid>
      <dc:creator>splunker12er</dc:creator>
      <dc:date>2014-08-28T09:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197685#M57125</link>
      <description>&lt;P&gt;I think that it is more a Stack Overflow question, it isn't so much related to Splunk &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;BTW, you can take a look here: &lt;A href="http://www.txt2re.com/index.php3"&gt;http://www.txt2re.com/index.php3&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 09:30:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197685#M57125</guid>
      <dc:creator>RiccardoV</dc:creator>
      <dc:date>2014-08-28T09:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197686#M57126</link>
      <description>&lt;P&gt;There are tools available where you can test your created regex. They also provide short documentation for the most common regex tokens. For example here: &lt;A href="http://regex101.com/"&gt;link&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Also Splunk on his own has the ability to create a regex expression based on examples. Read more here: &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.1.3/Knowledge/ExtractfieldsinteractivelywithIFX"&gt;link&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 09:33:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197686#M57126</guid>
      <dc:creator>tom_frotscher</dc:creator>
      <dc:date>2014-08-28T09:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197687#M57127</link>
      <description>&lt;P&gt;The Field Extractor app is useful sometimes. Have a look.&lt;/P&gt;

&lt;P&gt;&lt;A href="http://apps.splunk.com/app/494/"&gt;http://apps.splunk.com/app/494/&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:43:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197687#M57127</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-08-28T13:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197688#M57128</link>
      <description>&lt;P&gt;I belive the best tool for the job is ;&lt;/P&gt;

&lt;P&gt;regex101.com .&lt;/P&gt;

&lt;P&gt;Simply superb!!&lt;/P&gt;</description>
      <pubDate>Wed, 17 Sep 2014 14:05:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197688#M57128</guid>
      <dc:creator>lmyrefelt</dc:creator>
      <dc:date>2014-09-17T14:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197689#M57129</link>
      <description>&lt;P&gt;This is online tool: &lt;A href="http://www.regexr.com/"&gt;http://www.regexr.com/&lt;/A&gt;&lt;BR /&gt;
This is cool interactive tutorial: &lt;A href="http://regexone.com/"&gt;http://regexone.com/&lt;/A&gt; (20 exercises)&lt;/P&gt;</description>
      <pubDate>Fri, 19 Sep 2014 18:06:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197689#M57129</guid>
      <dc:creator>dimoobraznii</dc:creator>
      <dc:date>2014-09-19T18:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197690#M57130</link>
      <description>&lt;P&gt;My favourite is: &lt;A href="http://www.rubular.com"&gt;http://www.rubular.com&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Fast and interactive&lt;/P&gt;</description>
      <pubDate>Thu, 23 Oct 2014 08:32:01 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197690#M57130</guid>
      <dc:creator>mikaelbje</dc:creator>
      <dc:date>2014-10-23T08:32:01Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197691#M57131</link>
      <description>&lt;P&gt;If you like Regex101 (and I do), but cannot reach it from a customer site or are concerned about sending private data to the internet you can run it offline using  a trick from &lt;A href="https://github.com/Syskaw/Regex101.com-offline-app/blob/master/runLocalRegex101.sh"&gt;https://github.com/Syskaw/Regex101.com-offline-app/blob/master/runLocalRegex101.sh&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 02 Apr 2015 01:48:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197691#M57131</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2015-04-02T01:48:18Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197692#M57132</link>
      <description>&lt;P&gt;As a regular expression generator (log entry as input, regex as output) you can also use the one under: &lt;/P&gt;

&lt;P&gt;&lt;A href="http://regex.logxtender.net"&gt;http://regex.logxtender.net&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;It provides a generic regex with URLs, IPs, ports, usernames and so on parsed at some extent. &lt;/P&gt;</description>
      <pubDate>Fri, 26 Jun 2015 11:38:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197692#M57132</guid>
      <dc:creator>mihnea</dc:creator>
      <dc:date>2015-06-26T11:38:20Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197693#M57133</link>
      <description>&lt;P&gt;&lt;A href="http://regex.inging.units.it/"&gt;RegexGenerator++&lt;/A&gt; generates a regular expression starting from given data.&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2015 09:38:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197693#M57133</guid>
      <dc:creator>markall</dc:creator>
      <dc:date>2015-09-26T09:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197694#M57134</link>
      <description>&lt;P&gt;The other sites were great for testing, but this one builds a RegEx from your Index data. Very helpful, thanks!&lt;/P&gt;</description>
      <pubDate>Sat, 31 Dec 2016 00:05:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/197694#M57134</guid>
      <dc:creator>SAF_IT</dc:creator>
      <dc:date>2016-12-31T00:05:03Z</dc:date>
    </item>
    <item>
      <title>Re: Is there any online regex tool to create regular expressions for given sample data ?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/514582#M144437</link>
      <description>&lt;P&gt;If you want to build regex using plain simple English for your sample data &amp;amp; test matches also then you can use&amp;nbsp;&lt;A href="https://itsallbinary.com/simply-regex/regex-builder-tool" target="_blank"&gt;https://itsallbinary.com/simply-regex/regex-builder-tool&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You can simply use plain English phrases from auto suggestions &amp;amp; tool will generate regex for it. You can also test generated regex right there with your sample data as asked in question. One example of capturing log statement from this tool -&lt;/P&gt;&lt;P&gt;_Match_anywhere_in_text_ _any_digit_ _then_ _exact_string_ ( /) _then_ _any_digit_ _then_ _exact_string_ ( /) _then_ _one_or_more_of_ ( _any_digit_) _then_ _any_whitespace_ _then_ _exact_string_ ( -) _then_ _any_whitespace_ _then_ _capture_this_ ( _one_or_more_of_ ( _as_less_as_possible_of_ _any_character_)) _then_ _any_whitespace_ _then_ _exact_string_ ( -) _then_ _capture_this_ ( _one_or_more_of_ ( _any_character_ )) _then_ _exact_string_ ( -) _then_ _capture_this_ ( _one_or_more_of_ ( _any_character_))&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;This generates complex regex:&lt;/STRONG&gt; &lt;EM&gt;\d\/\d\/(?:\d)+\s\-\s((?:.)+?)\s\-((?:.)+)\-((?:.)+)&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;You can also test with your sample data:&lt;/STRONG&gt; &lt;EM&gt;6/7/2020 - MyClass - Today is Sunday and yesterday was Saturday - Success&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;It will match regex with your sample data &amp;amp; show groups:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Full Match =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'6/7/2020 - MyClass - Today is Sunday and yesterday was Saturday - Success'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Group 1 =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;'MyClass'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Group 2 =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;' Today is Sunday and yesterday was Saturday '&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Group 3 =&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;' Success'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Aug 2020 03:26:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Is-there-any-online-regex-tool-to-create-regular-expressions-for/m-p/514582#M144437</guid>
      <dc:creator>ravikharatmal</dc:creator>
      <dc:date>2020-08-18T03:26:39Z</dc:date>
    </item>
  </channel>
</rss>

