<?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: Matching on Close Date on (MM-YYYY) RegExMatch Formula Help in DemandTools</title>
    <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2669#M1514</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/19"&gt;@AnthonyValidity&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for breaking this out to a new thread.&amp;nbsp; Hopefully, this will help anyone else trying to do something similar.&lt;/P&gt;&lt;P&gt;Ideally, I would like to be able to match dates within a range of each other (e.g. +/- 30 days).&amp;nbsp; So, something like 3/31/2025 would match 4/1/2025, as my regex solution only matched when the month and year were the same.&lt;BR /&gt;&lt;BR /&gt;I did manually review any matches with the same year by changing the regex pattern to&amp;nbsp;&lt;SPAN&gt;(\d{4}).&amp;nbsp; So, at least I could manually update possible matches if needed.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thanks once again!&lt;/P&gt;&lt;P&gt;All the best,&lt;BR /&gt;Michael&lt;/P&gt;</description>
    <pubDate>Tue, 29 Apr 2025 15:28:43 GMT</pubDate>
    <dc:creator>michael-wtds</dc:creator>
    <dc:date>2025-04-29T15:28:43Z</dc:date>
    <item>
      <title>Import Matching on Close Date on (MM-YYYY) RegExMatch Formula Help</title>
      <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2661#M1508</link>
      <description>&lt;P&gt;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/19"&gt;@AnthonyValidity&lt;/a&gt;&amp;nbsp;I'm trying to match the Close Date on MM-YYYY, and can't get this regex match to match a test record with the exact same date.&lt;BR /&gt;(\d{4}-\d{2})-\d{2}&lt;BR /&gt;&lt;BR /&gt;Have you seen any examples of date matching regex that I can try to use?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:44:42 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2661#M1508</guid>
      <dc:creator>michael-wtds</dc:creator>
      <dc:date>2025-04-29T13:44:42Z</dc:date>
    </item>
    <item>
      <title>Re: Matching on Close Date on (MM-YYYY) RegExMatch Formula Help</title>
      <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2662#M1509</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/276"&gt;@michael-wtds&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;You're using Modify to try to match records?&amp;nbsp; Can you give me the full use case?&amp;nbsp; Also, what information is contained in the Close Date field?&amp;nbsp; Does it look like this on the backend,&amp;nbsp;YYYY-MM-DD?&lt;BR /&gt;&lt;BR /&gt;Best,&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 19:07:13 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2662#M1509</guid>
      <dc:creator>AnthonyValidity</dc:creator>
      <dc:date>2025-04-28T19:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Matching on Close Date on (MM-YYYY) RegExMatch Formula Help</title>
      <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2663#M1510</link>
      <description>&lt;P&gt;I solved this with a transform formula.&amp;nbsp; The issue is my input file date format was m/d/yyyy, but Salesforce dates are yyyy-mm-dd.&amp;nbsp; So, the regex pattern matching wasn't matching because the values were in different orders.&lt;BR /&gt;&lt;BR /&gt;In my scenario, I'm using an import file, and on the field mapping for Close Date I applied the transform formula -&lt;BR /&gt;DATE(YEAR(${CloseDate}), MONTH(${CloseDate}), DAY(${CloseDate}))&lt;BR /&gt;-&amp;nbsp;And when checking with sample date the date format of 04/28/2025 was shown as 2025-04-28.&lt;BR /&gt;&lt;BR /&gt;Then in the match step for Close Date, this RegEx comparison either of these patterns matched my dates with the same month and year:&lt;BR /&gt;(\d{4})[-,\/](\d{1,2})&lt;BR /&gt;- matches with a known separator (dash or slash)&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;(\d{4}).(\d{1,2})&lt;BR /&gt;&lt;/SPAN&gt;- matches 4 digits then 1 or 2 digits with anything in between.&amp;nbsp; Not as safe.&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 19:15:08 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2663#M1510</guid>
      <dc:creator>michael-wtds</dc:creator>
      <dc:date>2025-04-28T19:15:08Z</dc:date>
    </item>
    <item>
      <title>Re: Matching on Close Date on (MM-YYYY) RegExMatch Formula Help</title>
      <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2665#M1512</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/19"&gt;@AnthonyValidity&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;I'm working on an investment file import into Opportunities using upsert with a matching step. I'm trying to match the Close Date from my file to existing Opportunity records.&lt;/P&gt;&lt;P&gt;In my file, the investment Close Date be 4/4/2025 (m/d/yyyy), while the Opportunity Close Date might be&amp;nbsp; 4/10/2025.&amp;nbsp; I want to find records where the month and year match, ignoring the specific day.&lt;/P&gt;&lt;P&gt;I initially discovered that the regex matching only worked reliably when using four consecutive digits (\d{4}). However, when I tried adding the month pattern (\d{1,2}), either before or after the year, it failed to match records even when the dates were exactly the same.&lt;/P&gt;&lt;P&gt;When I converted my file's dates to match Salesforce’s storage format (yyyy-mm-dd), the regex pattern matching started working correctly.&lt;/P&gt;&lt;P&gt;What was unexpected is that, although my file contained valid date values, the RegEx comparison failed because the file format didn’t match Salesforce’s format. I was expecting DemandTools V to normalize the file date format automatically before performing the regex matching.&lt;/P&gt;&lt;P&gt;I hope this helps!&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Michael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 21:41:55 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2665#M1512</guid>
      <dc:creator>michael-wtds</dc:creator>
      <dc:date>2025-04-28T21:41:55Z</dc:date>
    </item>
    <item>
      <title>Re: Matching on Close Date on (MM-YYYY) RegExMatch Formula Help</title>
      <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2666#M1513</link>
      <description>&lt;P&gt;Hi &lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/276"&gt;@michael-wtds&lt;/a&gt;&amp;nbsp;!&lt;BR /&gt;&lt;BR /&gt;I'm glad you were able to get this to work.&amp;nbsp; Have you tried the Date Comparison type instead?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Date&lt;/STRONG&gt;&lt;SPAN&gt;: Allows dates with different formats to be matched and allows matching date to date/time fields (ignores the time).&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;You can check out the &lt;A href="https://knowledge.validity.com/s/articles/Comparison-Types?language=en_US" target="_blank" rel="noopener"&gt;Comparison Types article&lt;/A&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 13:43:26 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2666#M1513</guid>
      <dc:creator>AnthonyValidity</dc:creator>
      <dc:date>2025-04-29T13:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Matching on Close Date on (MM-YYYY) RegExMatch Formula Help</title>
      <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2669#M1514</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/19"&gt;@AnthonyValidity&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Thanks for breaking this out to a new thread.&amp;nbsp; Hopefully, this will help anyone else trying to do something similar.&lt;/P&gt;&lt;P&gt;Ideally, I would like to be able to match dates within a range of each other (e.g. +/- 30 days).&amp;nbsp; So, something like 3/31/2025 would match 4/1/2025, as my regex solution only matched when the month and year were the same.&lt;BR /&gt;&lt;BR /&gt;I did manually review any matches with the same year by changing the regex pattern to&amp;nbsp;&lt;SPAN&gt;(\d{4}).&amp;nbsp; So, at least I could manually update possible matches if needed.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thanks once again!&lt;/P&gt;&lt;P&gt;All the best,&lt;BR /&gt;Michael&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 15:28:43 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2669#M1514</guid>
      <dc:creator>michael-wtds</dc:creator>
      <dc:date>2025-04-29T15:28:43Z</dc:date>
    </item>
    <item>
      <title>Re: Import Matching on Close Date on (MM-YYYY) RegExMatch Formula Help</title>
      <link>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2670#M1515</link>
      <description>&lt;P&gt;Great stuff,&amp;nbsp;&lt;a href="https://mycommunity.validity.com/t5/user/viewprofilepage/user-id/276"&gt;@michael-wtds&lt;/a&gt;!&amp;nbsp; Love this use case.&amp;nbsp; Thank you for sharing.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Apr 2025 17:45:56 GMT</pubDate>
      <guid>https://mycommunity.validity.com/t5/demandtools/import-matching-on-close-date-on-mm-yyyy-regexmatch-formula-help/m-p/2670#M1515</guid>
      <dc:creator>AnthonyValidity</dc:creator>
      <dc:date>2025-04-29T17:45:56Z</dc:date>
    </item>
  </channel>
</rss>

