<?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: filter classification rule in Adobe Analytics Questions</title>
    <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/filter-classification-rule/m-p/398072#M1838</link>
    <description>&lt;P&gt;Regarding your "tes" value in 1depth, it's because of your RegEx.&amp;nbsp;&lt;SPAN&gt;I believe 1depth is getting the content of the $2 group.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, with some colouring to help to explain:&lt;/P&gt;&lt;P&gt;Your regular expression for 1depth:&amp;nbsp;&lt;SPAN&gt;^(&lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; )(&lt;FONT color="#339966"&gt;.[a-zA-Z0-9 ]+&lt;/FONT&gt;)&lt;FONT color="#FF0000"&gt;[^_$%^&amp;amp;]&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your value and its matches: &lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; &lt;FONT color="#339966"&gt;tes&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;t&lt;/FONT&gt;_company_all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The red expression is preventing the last character from being included in your green expression. So instead of "test", you're getting "tes", i.e. without the last "t".&lt;/P&gt;&lt;P&gt;Likewise with "&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; &lt;FONT color="#339966"&gt;test&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;2&lt;/FONT&gt;_company_all" and "&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; &lt;FONT color="#339966"&gt;test&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;3&lt;/FONT&gt;"&lt;/P&gt;</description>
    <pubDate>Wed, 24 Feb 2021 07:57:23 GMT</pubDate>
    <dc:creator>yuhuisg</dc:creator>
    <dc:date>2021-02-24T07:57:23Z</dc:date>
    <item>
      <title>filter classification rule</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/filter-classification-rule/m-p/397819#M1834</link>
      <description>&lt;P&gt;hi there,&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;is there anyone who knows how to not to correct 1 depth data if there is 2 or 3 depth data?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;for example, as you can see the picture,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;gnb: test_company_all has 2 values : "all" for 3depth and "tes" for 1depth (donna why just "tes" came out :(, anyway)&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;but i would like to get just "all" for 3depth, since "tes" is not the data that i want to collect.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1depth should collect just 1 depth sentence like "gnd:test3" which doesn't have _ in value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let me know if you guys know the way. thanx&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;this is the regular expression that i used for this classification&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1depth:&amp;nbsp;^(gnb: )(.[a-zA-Z0-9 ]+)[^_$%^&amp;amp;]&lt;BR /&gt;3depth:&amp;nbsp;^(gnb: )(.*)(_)(.*)(_)(.*)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="20210222_154103.png" style="width: 999px;"&gt;&lt;img src="https://experienceleaguecommunities.adobe.com/t5/image/serverpage/image-id/29833i4937DAB1880B4641/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="20210222_154103.png" alt="20210222_154103.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 07:14:12 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/filter-classification-rule/m-p/397819#M1834</guid>
      <dc:creator>Hyeran</dc:creator>
      <dc:date>2021-02-22T07:14:12Z</dc:date>
    </item>
    <item>
      <title>Re: filter classification rule</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/filter-classification-rule/m-p/397830#M1836</link>
      <description>&lt;P&gt;Hello Hyeran,&lt;/P&gt;
&lt;P&gt;It can be achieved by &lt;STRONG&gt;Stacking Rules in Classification Builder&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;Check out my blog (&lt;A href="https://terrynwinter.com/adobe-analytics-stacking-rules-in-classification-rule-builder/" target="_blank"&gt;https://terrynwinter.com/adobe-analytics-stacking-rules-in-classification-rule-builder/&lt;/A&gt;) and the same will help you on what you are trying to achieve.&lt;/P&gt;
&lt;P&gt;Thank You, Arun.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Feb 2021 09:57:42 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/filter-classification-rule/m-p/397830#M1836</guid>
      <dc:creator>PratheepArunRaj</dc:creator>
      <dc:date>2021-02-22T09:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: filter classification rule</title>
      <link>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/filter-classification-rule/m-p/398072#M1838</link>
      <description>&lt;P&gt;Regarding your "tes" value in 1depth, it's because of your RegEx.&amp;nbsp;&lt;SPAN&gt;I believe 1depth is getting the content of the $2 group.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So, with some colouring to help to explain:&lt;/P&gt;&lt;P&gt;Your regular expression for 1depth:&amp;nbsp;&lt;SPAN&gt;^(&lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; )(&lt;FONT color="#339966"&gt;.[a-zA-Z0-9 ]+&lt;/FONT&gt;)&lt;FONT color="#FF0000"&gt;[^_$%^&amp;amp;]&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Your value and its matches: &lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; &lt;FONT color="#339966"&gt;tes&lt;/FONT&gt;&lt;FONT color="#FF0000"&gt;t&lt;/FONT&gt;_company_all&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The red expression is preventing the last character from being included in your green expression. So instead of "test", you're getting "tes", i.e. without the last "t".&lt;/P&gt;&lt;P&gt;Likewise with "&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; &lt;FONT color="#339966"&gt;test&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;2&lt;/FONT&gt;_company_all" and "&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;gnb:&lt;/FONT&gt; &lt;FONT color="#339966"&gt;test&lt;/FONT&gt;&lt;/SPAN&gt;&lt;FONT color="#FF0000"&gt;3&lt;/FONT&gt;"&lt;/P&gt;</description>
      <pubDate>Wed, 24 Feb 2021 07:57:23 GMT</pubDate>
      <guid>https://experienceleaguecommunities.adobe.com/t5/adobe-analytics-questions/filter-classification-rule/m-p/398072#M1838</guid>
      <dc:creator>yuhuisg</dc:creator>
      <dc:date>2021-02-24T07:57:23Z</dc:date>
    </item>
  </channel>
</rss>

