<?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: UK deduping in DemandTools</title>
    <link>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/360#M119</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/177"&gt;@SheilaP&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;There's probably different RegEx formulas you could use for this, but I found one that worked great in my demo environment.&amp;nbsp; There's another for the special UK addresses but unsure if those apply to you.&amp;nbsp; When you use Modify, you're going to use the Formula action.&amp;nbsp; The formula / function is called RegExMatch and you're going to enter the following formula but the ${BillingPostalCode} would change depending on what field you're using:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;RegExMatch( ${BillingPostalCode} , "^[A-Z]{1,2}[0-9][A-Z0-9]? ?[0-9][A-Z]{2}$") &lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnthonyValidity_0-1677604575076.png" style="width: 789px;"&gt;&lt;img src="https://mycommunity.validity.com/t5/image/serverpage/image-id/117iC8A7F75BF05536B2/image-dimensions/789x212?v=v2" width="789" height="212" role="button" title="AnthonyValidity_0-1677604575076.png" alt="AnthonyValidity_0-1677604575076.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The other formula, which is much more complicated, accounts for "special cases."&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;RegExMatch( ${BillingPostalCode} , "^(([A-Z]{1,2}[0-9][A-Z0-9]?|ASCN|STHL|TDCU|BBND|[BFS]IQQ|PCRN|TKCA) ?[0-9][A-Z]{2}|BFPO ?[0-9]{1,4}|(KY[0-9]|MSR|VG|AI)[ -]?[0-9]{4}|[A-Z]{2} ?[0-9]{2}|GE ?CX|GIR ?0A{2}|SAN ?TA1)$") &lt;/LI-CODE&gt;
&lt;P&gt;I cannot think of a way to fix these automatically.&amp;nbsp; The above formulas will identify those fields that are not structured properly.&amp;nbsp; You would then edit them manually right while you in the Dedupe preview screen or export the grid with the record IDs, fix the flagged records, and then update them using Import.&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Tue, 28 Feb 2023 17:20:32 GMT</pubDate>
    <dc:creator>AnthonyValidity</dc:creator>
    <dc:date>2023-02-28T17:20:32Z</dc:date>
    <item>
      <title>UK deduping</title>
      <link>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/353#M115</link>
      <description>&lt;P&gt;Hi, does anybody have any suggestions for finding UK postcodes which are incorrectly formatted?&amp;nbsp; Usually no space in the correct place.&amp;nbsp; Also how to fix this.&amp;nbsp; Thank you&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 10:58:56 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/353#M115</guid>
      <dc:creator>SheilaP</dc:creator>
      <dc:date>2023-02-28T10:58:56Z</dc:date>
    </item>
    <item>
      <title>Re: UK deduping</title>
      <link>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/360#M119</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/177"&gt;@SheilaP&lt;/a&gt;&amp;nbsp;!&lt;/P&gt;
&lt;P&gt;There's probably different RegEx formulas you could use for this, but I found one that worked great in my demo environment.&amp;nbsp; There's another for the special UK addresses but unsure if those apply to you.&amp;nbsp; When you use Modify, you're going to use the Formula action.&amp;nbsp; The formula / function is called RegExMatch and you're going to enter the following formula but the ${BillingPostalCode} would change depending on what field you're using:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;RegExMatch( ${BillingPostalCode} , "^[A-Z]{1,2}[0-9][A-Z0-9]? ?[0-9][A-Z]{2}$") &lt;/LI-CODE&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="AnthonyValidity_0-1677604575076.png" style="width: 789px;"&gt;&lt;img src="https://mycommunity.validity.com/t5/image/serverpage/image-id/117iC8A7F75BF05536B2/image-dimensions/789x212?v=v2" width="789" height="212" role="button" title="AnthonyValidity_0-1677604575076.png" alt="AnthonyValidity_0-1677604575076.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;The other formula, which is much more complicated, accounts for "special cases."&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;RegExMatch( ${BillingPostalCode} , "^(([A-Z]{1,2}[0-9][A-Z0-9]?|ASCN|STHL|TDCU|BBND|[BFS]IQQ|PCRN|TKCA) ?[0-9][A-Z]{2}|BFPO ?[0-9]{1,4}|(KY[0-9]|MSR|VG|AI)[ -]?[0-9]{4}|[A-Z]{2} ?[0-9]{2}|GE ?CX|GIR ?0A{2}|SAN ?TA1)$") &lt;/LI-CODE&gt;
&lt;P&gt;I cannot think of a way to fix these automatically.&amp;nbsp; The above formulas will identify those fields that are not structured properly.&amp;nbsp; You would then edit them manually right while you in the Dedupe preview screen or export the grid with the record IDs, fix the flagged records, and then update them using Import.&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Feb 2023 17:20:32 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/360#M119</guid>
      <dc:creator>AnthonyValidity</dc:creator>
      <dc:date>2023-02-28T17:20:32Z</dc:date>
    </item>
    <item>
      <title>Re: UK deduping</title>
      <link>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/572#M254</link>
      <description>&lt;P&gt;Dear Anthony, thank you for looking at this issue.&amp;nbsp; I tried both formula but couldn't get it to work or bring up any errors.&amp;nbsp; Kind regards, Sheila&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:26:34 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/572#M254</guid>
      <dc:creator>SheilaP</dc:creator>
      <dc:date>2023-03-21T16:26:34Z</dc:date>
    </item>
    <item>
      <title>Re: UK deduping</title>
      <link>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/574#M256</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/177"&gt;@SheilaP&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Sorry to hear it is not working for you!&amp;nbsp; I am able to test in my environment and it is working so we may need Support to take a look with you.&amp;nbsp; You can &lt;A href="https://mycommunity.validity.com/t5/custom/page/page-id/SupportPage-CreateNewTicket-v2" target="_blank" rel="noopener"&gt;click here&lt;/A&gt; to open a ticket.&lt;/P&gt;
&lt;P&gt;I think it would help them if you take screenshots of your entire scenario from step 1 to the very end.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 16:30:01 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/uk-deduping/m-p/574#M256</guid>
      <dc:creator>AnthonyValidity</dc:creator>
      <dc:date>2023-03-21T16:30:01Z</dc:date>
    </item>
  </channel>
</rss>

