<?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: Help with the RegEx for tagging rule in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/Help-with-the-RegEx-for-tagging-rule/m-p/170043#M17925</link>
    <description>&lt;P&gt;Great it worked &lt;STRONG&gt;Ryan&lt;/STRONG&gt;. Thanks for helping me out.&lt;/P&gt;</description>
    <pubDate>Sat, 31 Jul 2021 15:16:08 GMT</pubDate>
    <dc:creator>AK</dc:creator>
    <dc:date>2021-07-31T15:16:08Z</dc:date>
    <item>
      <title>Help with the RegEx for tagging rule</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Help-with-the-RegEx-for-tagging-rule/m-p/170033#M17923</link>
      <description>&lt;P&gt;Hi Folks,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would need some help in defining a tagging rule that can match the set of hosts and assign tag to them.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The hostnames could be like below,&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;host1, host2, host3, server1, server2, machine1, machine2&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and the expression I tried was&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;host|server|machine&lt;/STRONG&gt;&amp;nbsp;bot it matches only host1 host2 and host3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please help me to build RegEx that can match all listed hosts&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;AK&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 07:56:26 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Help-with-the-RegEx-for-tagging-rule/m-p/170033#M17923</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2021-08-03T07:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help with the RegEx for tagging rule</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Help-with-the-RegEx-for-tagging-rule/m-p/170038#M17924</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Try placing the regex in parentheses like this: "(?&amp;gt;host|server|machine)"&lt;BR /&gt;Also, make sure you are selecting Host Name contains regex.&lt;/P&gt;&lt;P&gt;Please see the screenshots below for how I was able to mimic this functionality. Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ryan_ott_0-1627682099157.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1750i02A3602C4766B3C6/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ryan_ott_0-1627682099157.png" alt="ryan_ott_0-1627682099157.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ryan_ott_1-1627682107386.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/1751iB3631F92854C865C/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="ryan_ott_1-1627682107386.png" alt="ryan_ott_1-1627682107386.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;-Ryan&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jul 2021 21:55:17 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Help-with-the-RegEx-for-tagging-rule/m-p/170038#M17924</guid>
      <dc:creator>ryan_ott</dc:creator>
      <dc:date>2021-07-30T21:55:17Z</dc:date>
    </item>
    <item>
      <title>Re: Help with the RegEx for tagging rule</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/Help-with-the-RegEx-for-tagging-rule/m-p/170043#M17925</link>
      <description>&lt;P&gt;Great it worked &lt;STRONG&gt;Ryan&lt;/STRONG&gt;. Thanks for helping me out.&lt;/P&gt;</description>
      <pubDate>Sat, 31 Jul 2021 15:16:08 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/Help-with-the-RegEx-for-tagging-rule/m-p/170043#M17925</guid>
      <dc:creator>AK</dc:creator>
      <dc:date>2021-07-31T15:16:08Z</dc:date>
    </item>
  </channel>
</rss>

