<?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 regex for extracting word after symbol in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/regex-for-extracting-word-after-symbol/m-p/400735#M116061</link>
    <description>&lt;P&gt;please help me to extract the quoted word&lt;BR /&gt;
abcd &amp;gt; efgh &amp;gt; "lmn pqr"&lt;/P&gt;

&lt;P&gt;I tried with  “(?[^&amp;gt;]&lt;EM&gt;$)"   but while querying like this&lt;BR /&gt;
 |rex field=_raw “word (?[^&amp;gt;]&lt;/EM&gt;$)"   showing error.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
    <pubDate>Fri, 31 May 2019 11:54:57 GMT</pubDate>
    <dc:creator>deeptha1992</dc:creator>
    <dc:date>2019-05-31T11:54:57Z</dc:date>
    <item>
      <title>regex for extracting word after symbol</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-for-extracting-word-after-symbol/m-p/400735#M116061</link>
      <description>&lt;P&gt;please help me to extract the quoted word&lt;BR /&gt;
abcd &amp;gt; efgh &amp;gt; "lmn pqr"&lt;/P&gt;

&lt;P&gt;I tried with  “(?[^&amp;gt;]&lt;EM&gt;$)"   but while querying like this&lt;BR /&gt;
 |rex field=_raw “word (?[^&amp;gt;]&lt;/EM&gt;$)"   showing error.&lt;/P&gt;

&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 11:54:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-for-extracting-word-after-symbol/m-p/400735#M116061</guid>
      <dc:creator>deeptha1992</dc:creator>
      <dc:date>2019-05-31T11:54:57Z</dc:date>
    </item>
    <item>
      <title>Re: regex for extracting word after symbol</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-for-extracting-word-after-symbol/m-p/400736#M116062</link>
      <description>&lt;P&gt;Hi @deeptha1992,&lt;/P&gt;

&lt;P&gt;Try this :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|rex field=_raw “([^&amp;gt;]+[&amp;gt;])+\s?\"(?&amp;lt;YourFieldName&amp;gt;.+)\"$"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Cheers,&lt;BR /&gt;
David &lt;/P&gt;</description>
      <pubDate>Fri, 31 May 2019 12:03:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-for-extracting-word-after-symbol/m-p/400736#M116062</guid>
      <dc:creator>DavidHourani</dc:creator>
      <dc:date>2019-05-31T12:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: regex for extracting word after symbol</title>
      <link>https://community.splunk.com/t5/Splunk-Search/regex-for-extracting-word-after-symbol/m-p/400737#M116063</link>
      <description>&lt;P&gt;I noticed the quotes in your regex are two different characters, the first pair do not match the text. Here is a suggestion that closely matches your regex:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;without a named field---&amp;gt;       |rex field=_raw "\"(.+[^&amp;gt;])\"$"
with a named field ---&amp;gt;         |rex field=_raw "\"(?&amp;lt;FieldName&amp;gt;.+[^&amp;gt;])\"$"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 31 May 2019 12:52:21 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/regex-for-extracting-word-after-symbol/m-p/400737#M116063</guid>
      <dc:creator>mydog8it</dc:creator>
      <dc:date>2019-05-31T12:52:21Z</dc:date>
    </item>
  </channel>
</rss>

