<?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: regex help in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227069#M188330</link>
    <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | regex From="\S+\d\@\S+"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Thu, 11 Aug 2016 18:52:58 GMT</pubDate>
    <dc:creator>somesoni2</dc:creator>
    <dc:date>2016-08-11T18:52:58Z</dc:date>
    <item>
      <title>regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227068#M188329</link>
      <description>&lt;P&gt;Not the best regex king, so I need some help please&lt;/P&gt;

&lt;P&gt;within the field "From" in my data there are emails.  Within the emails there should never be a number before the @.&lt;/P&gt;

&lt;P&gt;For example, &lt;A href="mailto:mark1@mydamin.com"&gt;mark1@mydamin.com&lt;/A&gt; is not valid, but &lt;A href="mailto:mark@mydomain.com"&gt;mark@mydomain.com&lt;/A&gt; is valid.&lt;/P&gt;

&lt;P&gt;I want to find all the non valid emails.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:48:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227068#M188329</guid>
      <dc:creator>mcbradford</dc:creator>
      <dc:date>2016-08-11T18:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227069#M188330</link>
      <description>&lt;P&gt;Try like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your base search | regex From="\S+\d\@\S+"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:52:58 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227069#M188330</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-08-11T18:52:58Z</dc:date>
    </item>
    <item>
      <title>Re: regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227070#M188331</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;.... | rex "(.*\d.*?@[^\s]+)" | ...
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Aug 2016 18:56:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227070#M188331</guid>
      <dc:creator>sundareshr</dc:creator>
      <dc:date>2016-08-11T18:56:55Z</dc:date>
    </item>
    <item>
      <title>Re: regex help</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227071#M188332</link>
      <description>&lt;P&gt;Try this.. &lt;/P&gt;

&lt;P&gt;If you want to get good with regex then go to &lt;CODE&gt;&lt;A href="https://community.splunk.com/www.regex101.com" target="test_blank"&gt;www.regex101.com&lt;/A&gt;&lt;/CODE&gt; and put some sample data in and test it &lt;/P&gt;

&lt;P&gt;This will find all emails with a number before the &lt;CODE&gt;@&lt;/CODE&gt; symbol &lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;\w+\d@\w+\.com&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;index=foo ... | rex (?P&amp;lt;Bad_Email&amp;gt;\w+\d@\w+\.com)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2016 19:00:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-help/m-p/227071#M188332</guid>
      <dc:creator>skoelpin</dc:creator>
      <dc:date>2016-08-11T19:00:09Z</dc:date>
    </item>
  </channel>
</rss>

