<?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 to extract parts of a string delimited by dost (.) in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560550#M159304</link>
    <description>&lt;P&gt;Hello my loves I have one quick question&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say I have this two strings&lt;BR /&gt;&lt;BR /&gt;AUJ.UEIEJ.829839.239383&lt;/P&gt;&lt;P&gt;033.4788383.27383.8HJJJ&lt;BR /&gt;&lt;BR /&gt;WHat would be the correct regex expression to extract ONLY string of characters after the first dot and before the second dot.. that means&lt;BR /&gt;&lt;BR /&gt;from&amp;nbsp;AUJ.UEIEJ.829839.239383 I want&amp;nbsp;&amp;nbsp;UEIEJ&lt;BR /&gt;from&amp;nbsp;033.4788383.27383.8HJJJ I want&amp;nbsp; &amp;nbsp;4788383&lt;/P&gt;&lt;P&gt;Thank you my loves for the help!&lt;BR /&gt;&lt;BR /&gt;kindly,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;</description>
    <pubDate>Fri, 23 Jul 2021 03:21:26 GMT</pubDate>
    <dc:creator>cindygibbs_08</dc:creator>
    <dc:date>2021-07-23T03:21:26Z</dc:date>
    <item>
      <title>Regex to extract parts of a string delimited by dost (.)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560550#M159304</link>
      <description>&lt;P&gt;Hello my loves I have one quick question&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lets say I have this two strings&lt;BR /&gt;&lt;BR /&gt;AUJ.UEIEJ.829839.239383&lt;/P&gt;&lt;P&gt;033.4788383.27383.8HJJJ&lt;BR /&gt;&lt;BR /&gt;WHat would be the correct regex expression to extract ONLY string of characters after the first dot and before the second dot.. that means&lt;BR /&gt;&lt;BR /&gt;from&amp;nbsp;AUJ.UEIEJ.829839.239383 I want&amp;nbsp;&amp;nbsp;UEIEJ&lt;BR /&gt;from&amp;nbsp;033.4788383.27383.8HJJJ I want&amp;nbsp; &amp;nbsp;4788383&lt;/P&gt;&lt;P&gt;Thank you my loves for the help!&lt;BR /&gt;&lt;BR /&gt;kindly,&lt;/P&gt;&lt;P&gt;C&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 03:21:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560550#M159304</guid>
      <dc:creator>cindygibbs_08</dc:creator>
      <dc:date>2021-07-23T03:21:26Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to extract parts of a string delimited by dost (.)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560559#M159308</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233702"&gt;@cindygibbs_08&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can you try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults 
| eval x="AUJ.UEIEJ.829839.239383" 
| rex field=x "\.(?&amp;lt;field1&amp;gt;.+?)\."&lt;/LI-CODE&gt;&lt;P&gt;---&lt;/P&gt;&lt;P&gt;An upvote would be appreciated if this reply helps and Accept the solution!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 05:18:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560559#M159308</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-23T05:18:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to extract parts of a string delimited by dost (.)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560560#M159309</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233702"&gt;@cindygibbs_08&lt;/a&gt;&amp;nbsp; Assumed your field name as x (replace with your field name) which containing a string value. If the string is part of _raw event and not been extracted already this might not work.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 23 Jul 2021 05:20:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560560#M159309</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2021-07-23T05:20:02Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to extract parts of a string delimited by dost (.)</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560562#M159311</link>
      <description>&lt;LI-CODE lang="markup"&gt;| rex "^[\.]+\.(?&amp;lt;string&amp;gt;[^\.]+)\."&lt;/LI-CODE&gt;</description>
      <pubDate>Fri, 23 Jul 2021 06:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Regex-to-extract-parts-of-a-string-delimited-by-dost/m-p/560562#M159311</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-07-23T06:01:32Z</dc:date>
    </item>
  </channel>
</rss>

