<?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: Issue with clean URL regex in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-clean-URL-regex/m-p/119643#M12579</link>
    <description>&lt;P&gt;BTW, I got this working in the Application setup, but not for Services &amp;amp; Transactions&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 13 Jun 2019 20:17:42 GMT</pubDate>
    <dc:creator>eric_miles</dc:creator>
    <dc:date>2019-06-13T20:17:42Z</dc:date>
    <item>
      <title>Issue with clean URL regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-clean-URL-regex/m-p/119642#M12578</link>
      <description>&lt;P&gt;I would love some help with getting a clean url working. The RegEx works fine in a regex tester, but when I apply it to a Clean URL setting for a service to a service under Services &amp;amp; Transactions, it doesn't work at all.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regex: ([0-9]+\-[1-9])&lt;/P&gt;
&lt;P&gt;Samples URLs:&lt;/P&gt;
&lt;P&gt;/Leases/Details/111111-1/PaymentHistory&lt;/P&gt;
&lt;P&gt;/Leases/Details/222222-1/PaymentHistory&lt;/P&gt;
&lt;P&gt;/Leases/Details/111111-1/PaymentSchedule&lt;/P&gt;
&lt;P&gt;/Leases/Details/111111-1&lt;/P&gt;
&lt;P&gt;/Leases/Details/222222-1&lt;/P&gt;
&lt;P&gt;Expectation:&lt;/P&gt;
&lt;P&gt;/Leases/Details/[some placeholder]&lt;/P&gt;
&lt;P&gt;/Leases/Details/[some placeholder]/PaymentHistory&lt;/P&gt;
&lt;P&gt;/Leases/Details/[some placeholder]/PaymentSchedule&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Dec 2021 12:50:21 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-clean-URL-regex/m-p/119642#M12578</guid>
      <dc:creator>eric_miles</dc:creator>
      <dc:date>2021-12-14T12:50:21Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with clean URL regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-clean-URL-regex/m-p/119643#M12579</link>
      <description>&lt;P&gt;BTW, I got this working in the Application setup, but not for Services &amp;amp; Transactions&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 13 Jun 2019 20:17:42 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-clean-URL-regex/m-p/119643#M12579</guid>
      <dc:creator>eric_miles</dc:creator>
      <dc:date>2019-06-13T20:17:42Z</dc:date>
    </item>
    <item>
      <title>Re: Issue with clean URL regex</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-clean-URL-regex/m-p/119644#M12580</link>
      <description>&lt;P&gt;To just remove the ID I'd use this cleanup rule:&lt;/P&gt;&lt;P&gt;\d+-\d+&lt;/P&gt;&lt;P&gt;But you won't have any placeholder in this case, the matching part will be removed.&lt;BR /&gt;&lt;BR /&gt;To achieve your desired naming, you have to use naming rule, I'd use placeholders in this case: &lt;IMG src="https://community.dynatrace.com/legacyfs/online/20956-screenshot-20190614-085625.png" style="width:363px" /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Then the rule would look like this (Placeholder is ### in this case):&lt;/P&gt;&lt;P&gt;&lt;IMG src="https://community.dynatrace.com/legacyfs/online/20957-screenshot-20190614-085736.png" style="width:410px" /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Fri, 14 Jun 2019 06:57:53 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Issue-with-clean-URL-regex/m-p/119644#M12580</guid>
      <dc:creator>Julius_Loman</dc:creator>
      <dc:date>2019-06-14T06:57:53Z</dc:date>
    </item>
  </channel>
</rss>

