<?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 use of Regular Expressions in Data reviewer checks? in ArcGIS Data Reviewer Questions</title>
    <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403286#M617</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Forum&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I???m trying to use Data Reviewer to catch invalid dates in a string (TEXT) field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the "Regular Expression Check Properties" in "Table Checks".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My field holds date values of form YYYYMMDD, e.g. 19660313&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to write a Regular Expression to fit this, some thing like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;([0-9][0-9][0-9][0-9])(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Data Reviewer keeps returning all records as errors, so obviously I???m doing something wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me to a good R.E. expression, which would identify only the dates that do not match the YYYYMMDD format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 May 2012 11:19:38 GMT</pubDate>
    <dc:creator>MartinHvidberg</dc:creator>
    <dc:date>2012-05-22T11:19:38Z</dc:date>
    <item>
      <title>use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403286#M617</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Forum&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I???m trying to use Data Reviewer to catch invalid dates in a string (TEXT) field.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I use the "Regular Expression Check Properties" in "Table Checks".&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My field holds date values of form YYYYMMDD, e.g. 19660313&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried to write a Regular Expression to fit this, some thing like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;([0-9][0-9][0-9][0-9])(0[1-9]|1[0-2])(0[1-9]|[12][0-9]|3[01])&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But Data Reviewer keeps returning all records as errors, so obviously I???m doing something wrong.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone help me to a good R.E. expression, which would identify only the dates that do not match the YYYYMMDD format?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 11:19:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403286#M617</guid>
      <dc:creator>MartinHvidberg</dc:creator>
      <dc:date>2012-05-22T11:19:38Z</dc:date>
    </item>
    <item>
      <title>Re: use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403287#M618</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello Martin,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you seen the example in the &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Metacharacters_used_to_build_regular_expressions/010200000090000000/" rel="nofollow" target="_blank"&gt;help&lt;/A&gt;&lt;SPAN&gt; documentation?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Try this: ((19)|(20))\d\d((0[1-9])|(1[012]))((0[1-9])|([12][0-9])|(3[01]))&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think you were missing a couple of sets of parenthesis.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 18:14:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403287#M618</guid>
      <dc:creator>MichelleJohnson</dc:creator>
      <dc:date>2012-05-22T18:14:01Z</dc:date>
    </item>
    <item>
      <title>Re: use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403288#M619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Michelle&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Your RE. is perfect, thanks for that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Also thanks for the link.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; Martin&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2012 09:09:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403288#M619</guid>
      <dc:creator>MartinHvidberg</dc:creator>
      <dc:date>2012-05-24T09:09:28Z</dc:date>
    </item>
    <item>
      <title>Re: use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403289#M620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Michelle,&lt;/P&gt;&lt;P&gt;I am Tuan from Esri Vietnam.&lt;/P&gt;&lt;P&gt;I am help customer in vietnam to build table check and I using Regular Expression check. I have try to check value field name of map sheet as like this : 6636-V-DN&lt;/P&gt;&lt;P&gt;And I have try expression as :&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;([0-9][0-9][0-9][0-9])\-([A-Z])\-([A-Z][A-Z])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;But it is not return the error.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Moreover, when I have set some expression for other field it is work but it not check for NULL or Space value?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Please help!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Many thank in advance!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Vu Tuan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2020 18:35:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403289#M620</guid>
      <dc:creator>TuanVu_Huu</dc:creator>
      <dc:date>2020-08-16T18:35:02Z</dc:date>
    </item>
    <item>
      <title>Re: use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403290#M621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Michelle,&lt;/P&gt;&lt;P&gt;sorry I mean I have typed expression as:&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;6636-V-DN&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;([0-9][0-9][0-9][0-9]-\[A-Z]-\[A-Z][A-Z])&amp;nbsp; too&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;But still not get error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;many thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Vu Tuan&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 16 Aug 2020 18:41:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403290#M621</guid>
      <dc:creator>TuanVu_Huu</dc:creator>
      <dc:date>2020-08-16T18:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403291#M622</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Dear Michelle,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;I have added some option, But still fail.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;([0-9][0-9][0-9][0-9]\-\[A-Z]\-\[A-Z][A-Z])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;([0-9][0-9][0-9][0-9])\-([A-Z])\-([A-Z][A-Z])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;([0-9][0-9][0-9][0-9]-[A-Z]-[A-Z][A-Z])&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Please advice&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.5pt; color: #3d3d3d; background: white;"&gt;Vũ Tuấn&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Aug 2020 14:46:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403291#M622</guid>
      <dc:creator>TuanVu_Huu</dc:creator>
      <dc:date>2020-08-17T14:46:21Z</dc:date>
    </item>
    <item>
      <title>Re: use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403292#M623</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Vu Tuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I used the last option you provided,&amp;nbsp;&lt;SPAN style="background-color: #ffffff;"&gt;([0-9][0-9][0-9][0-9]-[A-Z]-[A-Z][A-Z]), and I was getting expected results.&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I'm assuming that your format must be like&amp;nbsp;6636-V-DN.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;I created sample data with good and bad formatting.&amp;nbsp; The highlighted records were returned.&amp;nbsp; They do not follow format of 4 digits, dash, 1 capital letter, dash, 2 capital letters.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/503840_2020-08-18_11-27-37.jpg" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="background-color: #ffffff;"&gt;michellej.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 18:28:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403292#M623</guid>
      <dc:creator>MichelleJohnson</dc:creator>
      <dc:date>2020-08-18T18:28:51Z</dc:date>
    </item>
    <item>
      <title>Re: use of Regular Expressions in Data reviewer checks?</title>
      <link>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403293#M624</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vu Tuan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is an option to check for NULLs.&amp;nbsp; It will not flag fields with blanks.&amp;nbsp; But I think that the expression should flag those.&amp;nbsp; If it does not, then you can create an Execute SQL Check to look for NULL and blanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;michellej.&lt;IMG alt="" class="jive-emoji image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/503841_2020-08-18_11-37-47.jpg" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 18 Aug 2020 18:38:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-data-reviewer-questions/use-of-regular-expressions-in-data-reviewer-checks/m-p/403293#M624</guid>
      <dc:creator>MichelleJohnson</dc:creator>
      <dc:date>2020-08-18T18:38:46Z</dc:date>
    </item>
  </channel>
</rss>

