<?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 in  splunk in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478324#M134158</link>
    <description>&lt;P&gt;The regex that I got and work in other environments (Not Splunk ) is&lt;BR /&gt;
(?&amp;lt;=Process Message)(.*)(?=&amp;lt;-DBTransaction)&lt;/P&gt;

&lt;P&gt;Somehow it was not included in the my initial post&lt;/P&gt;</description>
    <pubDate>Mon, 20 Apr 2020 13:21:34 GMT</pubDate>
    <dc:creator>malgru</dc:creator>
    <dc:date>2020-04-20T13:21:34Z</dc:date>
    <item>
      <title>Regex in  splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478322#M134156</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;

&lt;P&gt;I am trying to get a regex to work in splunk but without success, perhaps someone here can help me?&lt;/P&gt;

&lt;P&gt;This work when I am testing (not in splunk)&lt;/P&gt;

&lt;P&gt;", logdata="Process Code: -400&lt;BR /&gt;
Process Message: [0]:&lt;STRONG&gt;ABC QRT 12764 NOT&lt;/STRONG&gt;.  &amp;lt;-PurchaseOrderLineId- HeadId:1415640              Division:10     Id:1-1&amp;gt;", marowver="7"&lt;/P&gt;

&lt;P&gt;But how do I get an expression that works in Splunk? I want the string in bold: ABC QRT 12764 NOT&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 12:39:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478322#M134156</guid>
      <dc:creator>malgru</dc:creator>
      <dc:date>2020-04-20T12:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in  splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478323#M134157</link>
      <description>&lt;P&gt;It would help to see your existing regex efforts.&lt;/P&gt;

&lt;P&gt;Perhaps this will help:  &lt;CODE&gt;Process Message: \[\d+]:(?&amp;lt;processMessage&amp;gt;[\w\s]+)&lt;/CODE&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 13:16:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478323#M134157</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-04-20T13:16:52Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in  splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478324#M134158</link>
      <description>&lt;P&gt;The regex that I got and work in other environments (Not Splunk ) is&lt;BR /&gt;
(?&amp;lt;=Process Message)(.*)(?=&amp;lt;-DBTransaction)&lt;/P&gt;

&lt;P&gt;Somehow it was not included in the my initial post&lt;/P&gt;</description>
      <pubDate>Mon, 20 Apr 2020 13:21:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478324#M134158</guid>
      <dc:creator>malgru</dc:creator>
      <dc:date>2020-04-20T13:21:34Z</dc:date>
    </item>
    <item>
      <title>Re: Regex in  splunk</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478325#M134159</link>
      <description>&lt;P&gt;I just  modified your example a little and it worked just fine, thanks&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;"(?&amp;lt;=Process Message:) \[\d+]:(?&amp;lt; basic_error_message&amp;gt;[\w\s]+)"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 20 Apr 2020 13:46:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-in-splunk/m-p/478325#M134159</guid>
      <dc:creator>malgru</dc:creator>
      <dc:date>2020-04-20T13:46:40Z</dc:date>
    </item>
  </channel>
</rss>

