<?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/374821#M110165</link>
    <description>&lt;P&gt;Thanks Soni , &lt;/P&gt;

&lt;P&gt;| rex field=fieldInFocus mode=sed "s/^([^{]+)(.+)/\2/g"&lt;/P&gt;

&lt;P&gt;Work as expected &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 29 Jun 2017 21:40:53 GMT</pubDate>
    <dc:creator>sumanssah</dc:creator>
    <dc:date>2017-06-29T21:40:53Z</dc:date>
    <item>
      <title>Regex help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help/m-p/374819#M110163</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;

&lt;P&gt;Need assistance in regex creation.&lt;/P&gt;

&lt;P&gt;I want to remove every thing before an character.&lt;/P&gt;

&lt;P&gt;Example:&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;/REGISTRY/MACHINE/Software/Microsoft/Windows/CurrentVersion/Explorer/Browser Helper Objects/{B4F3A835-0E21-4959-BA22-42B3008E02FF}&lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;Want to remove every thing before "&lt;STRONG&gt;{&lt;/STRONG&gt;"&lt;/P&gt;

&lt;P&gt;And expecting the result as &lt;BR /&gt;
&lt;STRONG&gt;{B4F3A835-0E21-4959-BA22-42B3008E02FF}&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;

&lt;P&gt;Regards&lt;BR /&gt;
..............SS&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 21:04:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help/m-p/374819#M110163</guid>
      <dc:creator>sumanssah</dc:creator>
      <dc:date>2017-06-29T21:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help/m-p/374820#M110164</link>
      <description>&lt;P&gt;In line in search you can do like this&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your current search which include the fieldInFocus
| rex field=fieldInFocus mode=sed "s/^([^\{]+)(.+)/\2/g"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;OR&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;your current search which include the fieldInFocus
| eval fieldInFocus=replace(fieldInFocus,"([^\{]+)","")
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 29 Jun 2017 21:11:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help/m-p/374820#M110164</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2017-06-29T21:11:45Z</dc:date>
    </item>
    <item>
      <title>Re: Regex help!</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-help/m-p/374821#M110165</link>
      <description>&lt;P&gt;Thanks Soni , &lt;/P&gt;

&lt;P&gt;| rex field=fieldInFocus mode=sed "s/^([^{]+)(.+)/\2/g"&lt;/P&gt;

&lt;P&gt;Work as expected &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 21:40:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-help/m-p/374821#M110165</guid>
      <dc:creator>sumanssah</dc:creator>
      <dc:date>2017-06-29T21:40:53Z</dc:date>
    </item>
  </channel>
</rss>

