<?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 for cleaning a request attribute in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/185778#M20745</link>
    <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21632"&gt;@pbrown&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In reality,&amp;nbsp; I believe your regex should return a list of two results, 100 and 000&lt;/P&gt;&lt;P&gt;The same will happen with similar regexs, eg.&amp;nbsp; (\d+)&lt;/P&gt;&lt;P&gt;While it seems pretty easy, I believe it is not, as I have not been able to come up with one that works for all applicable values...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 01 May 2022 09:26:54 GMT</pubDate>
    <dc:creator>AntonioSousa</dc:creator>
    <dc:date>2022-05-01T09:26:54Z</dc:date>
    <item>
      <title>regex for cleaning a request attribute</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/185765#M20744</link>
      <description>&lt;P&gt;Hey there,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm having trouble extracting a value from a java method for request attribute.&lt;/P&gt;
&lt;P&gt;to put it simple:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the value extracted : 100.000&lt;/P&gt;
&lt;P&gt;the value we need&amp;nbsp; &amp;nbsp;: 100000&amp;nbsp; (without the '.')&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm trying to use regex to clean this up, but with no success&lt;/P&gt;
&lt;P&gt;For example&amp;nbsp;([^\.]*+) returns 100 instead of 100000&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;any suggestions?&lt;/P&gt;
&lt;P&gt;thanks!&lt;/P&gt;
&lt;P&gt;Patricio&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 13:37:52 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/185765#M20744</guid>
      <dc:creator>pbrown</dc:creator>
      <dc:date>2022-10-19T13:37:52Z</dc:date>
    </item>
    <item>
      <title>Re: regex for cleaning a request attribute</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/185778#M20745</link>
      <description>&lt;P&gt;&lt;a href="https://community.dynatrace.com/t5/user/viewprofilepage/user-id/21632"&gt;@pbrown&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;In reality,&amp;nbsp; I believe your regex should return a list of two results, 100 and 000&lt;/P&gt;&lt;P&gt;The same will happen with similar regexs, eg.&amp;nbsp; (\d+)&lt;/P&gt;&lt;P&gt;While it seems pretty easy, I believe it is not, as I have not been able to come up with one that works for all applicable values...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 01 May 2022 09:26:54 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/185778#M20745</guid>
      <dc:creator>AntonioSousa</dc:creator>
      <dc:date>2022-05-01T09:26:54Z</dc:date>
    </item>
    <item>
      <title>Re: regex for cleaning a request attribute</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192244#M22085</link>
      <description>&lt;PRE&gt;&lt;SPAN class=""&gt;Have you managed to solve this?
I have a similar problem with the comma&lt;/SPAN&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 08 Aug 2022 17:04:05 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192244#M22085</guid>
      <dc:creator>gabriel_gomez</dc:creator>
      <dc:date>2022-08-08T17:04:05Z</dc:date>
    </item>
    <item>
      <title>Re: regex for cleaning a request attribute</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192248#M22086</link>
      <description>&lt;P&gt;Hey, gabriel_gomez&lt;/P&gt;&lt;P&gt;sadly not yet...&lt;/P&gt;&lt;P&gt;best of luck and if you get the regex, please post it here.&lt;/P&gt;&lt;P&gt;thanks!&lt;/P&gt;&lt;P&gt;Patricio&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 18:29:41 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192248#M22086</guid>
      <dc:creator>pbrown</dc:creator>
      <dc:date>2022-08-08T18:29:41Z</dc:date>
    </item>
    <item>
      <title>Re: regex for cleaning a request attribute</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192249#M22087</link>
      <description>&lt;P&gt;This does not have a solution with the regex extraction, since you need to extract two parts (before and after the point).&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 19:43:12 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192249#M22087</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-08-08T19:43:12Z</dc:date>
    </item>
    <item>
      <title>Re: regex for cleaning a request attribute</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192251#M22088</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;How can that be solved? I need to remove the comma to be able to add all the fields.&lt;/SPAN&gt;&lt;SPAN class=""&gt;The field I have is called totals.
I need to get a report where I can add up all the sales. 
583,100
with that format it doesn't let me add, that's why I need to remove the comma&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;PRE&gt;&lt;SPAN class=""&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;PRE&gt;&amp;nbsp;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 19:53:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192251#M22088</guid>
      <dc:creator>gabriel_gomez</dc:creator>
      <dc:date>2022-08-08T19:53:02Z</dc:date>
    </item>
    <item>
      <title>Re: regex for cleaning a request attribute</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192256#M22091</link>
      <description>&lt;P&gt;No, it's not possible to solve it. You need either two capture groups or do a replacement. None of these is available in request attribute cleanup rules.&lt;BR /&gt;&lt;BR /&gt;Depending on the source of your request attribute, it is possible it can be obtained by other means (without the point/comma character). In general, this cannot be solved using the cleaning rules in Dynatrace.&lt;/P&gt;</description>
      <pubDate>Mon, 08 Aug 2022 20:21:02 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/regex-for-cleaning-a-request-attribute/m-p/192256#M22091</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2022-08-08T20:21:02Z</dc:date>
    </item>
  </channel>
</rss>

