<?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: Trimming last 8-9 chars from string in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541752#M153391</link>
    <description>&lt;LI-CODE lang="markup"&gt;| eval pod = trim(substr(pod, -8),"-")&lt;/LI-CODE&gt;</description>
    <pubDate>Mon, 01 Mar 2021 13:56:44 GMT</pubDate>
    <dc:creator>ITWhisperer</dc:creator>
    <dc:date>2021-03-01T13:56:44Z</dc:date>
    <item>
      <title>Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541748#M153388</link>
      <description>&lt;P&gt;Hello all,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am having the following list:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px"&gt;1&lt;/TD&gt;&lt;TD width="356px"&gt;ais-notification-service-tm-nft-27-9gv6s&lt;/TD&gt;&lt;TD width="45px"&gt;642&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;2&lt;/TD&gt;&lt;TD width="356px"&gt;ais-notification-service-tm-nft-2-snfhl&lt;/TD&gt;&lt;TD width="45px"&gt;642&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;3&lt;/TD&gt;&lt;TD width="356px"&gt;ais-replay-notification-service-tm-nft-3-5n876&lt;/TD&gt;&lt;TD width="45px"&gt;642&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;4&lt;/TD&gt;&lt;TD width="356px"&gt;ais-replay-notification-service-tm-nft-34-l4ks2&lt;/TD&gt;&lt;TD width="45px"&gt;278&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;5&lt;/TD&gt;&lt;TD width="356px"&gt;ais-replay-notification-service-tm-nft-30-vnh9s&lt;/TD&gt;&lt;TD width="45px"&gt;364&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I need to have the following output:&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px"&gt;1&lt;/TD&gt;&lt;TD width="279px"&gt;ais-notification-service-tm-nft&lt;/TD&gt;&lt;TD width="40px"&gt;642&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;2&lt;/TD&gt;&lt;TD width="279px"&gt;ais-notification-service-tm-nft&lt;/TD&gt;&lt;TD width="40px"&gt;642&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;3&lt;/TD&gt;&lt;TD width="279px"&gt;ais-replay-notification-service-tm-nft&lt;/TD&gt;&lt;TD width="40px"&gt;642&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;4&lt;/TD&gt;&lt;TD width="279px"&gt;ais-replay-notification-service-tm-nft&lt;/TD&gt;&lt;TD width="40px"&gt;278&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;5&lt;/TD&gt;&lt;TD width="279px"&gt;ais-replay-notification-service-tm-nft&lt;/TD&gt;&lt;TD width="40px"&gt;364&lt;/TD&gt;&lt;TD width="82px"&gt;dk0332-e&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While I do know how to trim the last characters using evaluation below:&lt;/P&gt;&lt;PRE&gt;&amp;lt;search string&amp;gt;&amp;nbsp;| eval pod = substr(pod, 1, len(pod)-8)&lt;/PRE&gt;&lt;P&gt;it doesn't trim them the way I want (because some of the services are being displayed with one more char). How can I make this trimming dynamic, so it automatically trims the extra chars when they're found?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 13:16:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541748#M153388</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-01T13:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541752#M153391</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval pod = trim(substr(pod, -8),"-")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 13:56:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541752#M153391</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-01T13:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541764#M153398</link>
      <description>&lt;P&gt;Perhaps sed can do it.&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;search string&amp;gt; | rex mode=sed field=pod "s/nft-.*/nft/"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:26:41 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541764#M153398</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2021-03-01T14:26:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541765#M153399</link>
      <description>&lt;P&gt;Using this, it displays only what has been trimmed from the string.&amp;nbsp;By the looks of it, it removes the things I don't need - which is ok.&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;21-cljcp&lt;/TD&gt;&lt;TD&gt;dk0766-c&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The desired output should be:&amp;nbsp;&lt;/P&gt;&lt;TABLE width="319px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px"&gt;1&lt;/TD&gt;&lt;TD width="233px"&gt;ais-notification-service-tm-nft-&lt;/TD&gt;&lt;TD&gt;dk0766-c&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:28:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541765#M153399</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-01T14:28:22Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541767#M153400</link>
      <description>&lt;P&gt;Not my strength, so I look forward with eagerness to someone suggesting the optimum regex, but you want the rex command.&amp;nbsp; If you haven't explored regex before, welcome to an interesting chapter in your life.&amp;nbsp; Well worth persevering with for Splunk and beyond.&amp;nbsp; I'm certain my regex string is sub-optimal so use it with caution.&amp;nbsp; In essence, the rex command says, from the field called pod, capture, into a new field called newpod, all the characters until you get to a hyphen followed by any number of any character (.*) followed by a second hyphen and then any number of any character again before the $ sign denotes end of string.&amp;nbsp; One more time, I'm often blown away by how a good regex'er can write an elegant solution and how easy it is to write regex which doesn't cater for every eventuality.&amp;nbsp; But hopefully this gets you pointed in the right direction.&amp;nbsp; &amp;nbsp;Always learning!&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=pod "(?&amp;lt;newpod&amp;gt;.*)-.*-.*"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:28:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541767#M153400</guid>
      <dc:creator>tread_splunk</dc:creator>
      <dc:date>2021-03-01T14:28:40Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541769#M153401</link>
      <description>&lt;LI-CODE lang="markup"&gt;| eval pod = rtrim(substr(pod, -8),"-")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:30:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541769#M153401</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-01T14:30:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541774#M153403</link>
      <description>&lt;P&gt;Well, it looks like it has the same output even with rtrim...&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:33:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541774#M153403</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-01T14:33:16Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541777#M153406</link>
      <description>&lt;P&gt;Unfortunately, not all of the pods will end in "nft" as names. These items were just an example.&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would've helped if they were finishing in this way, and it was ideal... but the people who created the services haven't used a naming convention for each service so that'd help me...&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:35:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541777#M153406</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-01T14:35:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541779#M153407</link>
      <description>&lt;P&gt;Seems a little odd that rtrim doesn't remove the trailing "-"! - try rex to remove it?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval pod = substr(pod, -8)
| rex field=pod mode=sed "s/-$//g"&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:39:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541779#M153407</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-01T14:39:38Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541783#M153410</link>
      <description>&lt;P&gt;Still shows the output:&amp;nbsp;&lt;/P&gt;&lt;TABLE width="119px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="78px"&gt;&lt;P&gt;21-cljcp&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD width="78px"&gt;&lt;P&gt;21-9zr5k&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD width="78px"&gt;&lt;P&gt;-2-plkzb&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD width="78px"&gt;&lt;P&gt;-2-qcq62&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;Instead of following output:&lt;/P&gt;&lt;TABLE width="319px"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;1&lt;/P&gt;&lt;/TD&gt;&lt;TD width="278px"&gt;&lt;P&gt;ais-notification-service-tm-nft&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;2&lt;/P&gt;&lt;/TD&gt;&lt;TD width="278px"&gt;&lt;P&gt;ais-notification-service-tm-nft&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;3&lt;/P&gt;&lt;/TD&gt;&lt;TD width="278px"&gt;&lt;P&gt;ais-replay-notification-service-tm-nft&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px"&gt;&lt;P&gt;4&lt;/P&gt;&lt;/TD&gt;&lt;TD width="278px"&gt;&lt;P&gt;ais-replay-notification-service-tm-nft&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Mar 2021 14:47:52 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541783#M153410</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-01T14:47:52Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541793#M153416</link>
      <description>&lt;P&gt;Sorry, messed up the substr, Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval pod = rtrim(substr(pod, 1, -8),"-")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 15:04:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541793#M153416</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-01T15:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541833#M153437</link>
      <description>&lt;P&gt;The output, using&amp;nbsp;eval pod = rtrim(substr(pod, 1, -8),"-") is not showing anything for the pod anymore&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="40px" height="25px"&gt;1&lt;/TD&gt;&lt;TD width="45px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="82px" height="25px"&gt;dk0766-c&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="25px"&gt;2&lt;/TD&gt;&lt;TD width="45px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="82px" height="25px"&gt;dk0766-c&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="25px"&gt;3&lt;/TD&gt;&lt;TD width="45px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="82px" height="25px"&gt;dk0766-c&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD width="40px" height="25px"&gt;4&lt;/TD&gt;&lt;TD width="45px" height="25px"&gt;&amp;nbsp;&lt;/TD&gt;&lt;TD width="82px" height="25px"&gt;dk0766-c&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 17:54:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541833#M153437</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-01T17:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541838#M153441</link>
      <description>&lt;P&gt;Did you try ...&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;Your Search&amp;gt; | rex field=pod "(?&amp;lt;newpod&amp;gt;.*)-.*-.*"&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 18:31:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541838#M153441</guid>
      <dc:creator>tread_splunk</dc:creator>
      <dc:date>2021-03-01T18:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541856#M153446</link>
      <description>&lt;P&gt;Sorry I am getting confused - this might be better&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| eval pod = rtrim(substr(pod, 1, len(pod)-8),"-")&lt;/LI-CODE&gt;</description>
      <pubDate>Mon, 01 Mar 2021 20:30:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541856#M153446</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-01T20:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541963#M153488</link>
      <description>&lt;P&gt;Unfortunately this didnt helped...&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still seem to be getting some services with -2, -8, -1 etc...&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I am changing the the length and make it to -9:&lt;/P&gt;&lt;PRE&gt;| eval pod = rtrim(substr(pod, 1, len(pod)-9),"-")&lt;/PRE&gt;&lt;P&gt;Some of the services that were showing up OK in the past will one more char trimmed (which is not something that's helping out).&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 13:34:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541963#M153488</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-02T13:34:12Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541965#M153490</link>
      <description>&lt;P&gt;Try this&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex mode=sed field=pod "s/\-\w+\-\w+$//g"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Mar 2021 13:38:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541965#M153490</guid>
      <dc:creator>ITWhisperer</dc:creator>
      <dc:date>2021-03-02T13:38:54Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541970#M153493</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230692"&gt;@jugarugabi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Please try below;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| rex field=pod "(?&amp;lt;pod&amp;gt;.+)-\d*-"&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 02 Mar 2021 14:09:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/541970#M153493</guid>
      <dc:creator>scelikok</dc:creator>
      <dc:date>2021-03-02T14:09:29Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/542034#M153526</link>
      <description>&lt;P&gt;Sir, hats off to you for helping out!&lt;/P&gt;&lt;P&gt;This did the trick!&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 19:56:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/542034#M153526</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-02T19:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Trimming last 8-9 chars from string</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/542035#M153527</link>
      <description>&lt;P&gt;Looks like this one produces the needed output as well as the solution provided by&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/225168"&gt;@ITWhisperer&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, I upvoted this solution as well.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Mar 2021 20:09:02 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Trimming-last-8-9-chars-from-string/m-p/542035#M153527</guid>
      <dc:creator>jugarugabi</dc:creator>
      <dc:date>2021-03-02T20:09:02Z</dc:date>
    </item>
  </channel>
</rss>

