<?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: How to extract complete string using regular expression in Security</title>
    <link>https://community.splunk.com/t5/Security/How-to-extract-complete-string-using-regular-expression/m-p/555808#M12320</link>
    <description>&lt;LI-CODE lang="markup"&gt;| rex field=_raw "deploy_release\=(?&amp;lt;Deploy_Release&amp;gt;.*?)" &lt;/LI-CODE&gt;&lt;P&gt;Can you share the full event as you might be able to do this a different way if the deploy_release field is not the remainder of the line and is delimited by a space for example&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "deploy_release\=(?&amp;lt;Deploy_Release&amp;gt;[^\s]+)" &lt;/LI-CODE&gt;</description>
    <pubDate>Tue, 15 Jun 2021 14:59:55 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-06-15T14:59:55Z</dc:date>
    <item>
      <title>How to extract complete string using regular expression</title>
      <link>https://community.splunk.com/t5/Security/How-to-extract-complete-string-using-regular-expression/m-p/555806#M12319</link>
      <description>&lt;P&gt;Hi TEam&lt;/P&gt;&lt;P&gt;I have the below data in the logs how can i extract the complete string using regular expression .&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;4678-business-release-${table.date}-292_(2)&lt;/SPAN&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;6789-business-release-06102021-292&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have tried using&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;| rex field=_raw "deploy_release\=(?&amp;lt;Deploy_Release&amp;gt;.[^\n][a-z0-9#][^\n])"&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;But i could get only the first values (i.e) 4678 and 6789 but not the completed string .Can someone please correct me&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:55:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-extract-complete-string-using-regular-expression/m-p/555806#M12319</guid>
      <dc:creator>Nith1</dc:creator>
      <dc:date>2021-06-15T14:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract complete string using regular expression</title>
      <link>https://community.splunk.com/t5/Security/How-to-extract-complete-string-using-regular-expression/m-p/555808#M12320</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex field=_raw "deploy_release\=(?&amp;lt;Deploy_Release&amp;gt;.*?)" &lt;/LI-CODE&gt;&lt;P&gt;Can you share the full event as you might be able to do this a different way if the deploy_release field is not the remainder of the line and is delimited by a space for example&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "deploy_release\=(?&amp;lt;Deploy_Release&amp;gt;[^\s]+)" &lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 15 Jun 2021 14:59:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-extract-complete-string-using-regular-expression/m-p/555808#M12320</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-06-15T14:59:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to extract complete string using regular expression</title>
      <link>https://community.splunk.com/t5/Security/How-to-extract-complete-string-using-regular-expression/m-p/555809#M12321</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/231928"&gt;@Nith1&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you please share your expected OP from you sample event?&lt;/P&gt;&lt;P&gt;Meanwhile can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=_raw "deploy_release\=(?&amp;lt;Deploy_Release&amp;gt;.[^\n].*)"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;BR /&gt;KV&lt;BR /&gt;▄︻̷̿┻̿═━一&lt;BR /&gt;&lt;BR /&gt;If any of my reply helps you to solve the problem Or gain knowledge, an upvote would be appreciated.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jun 2021 15:00:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Security/How-to-extract-complete-string-using-regular-expression/m-p/555809#M12321</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-15T15:00:09Z</dc:date>
    </item>
  </channel>
</rss>

