<?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 Using regex in relevant field? in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/using-regex-in-relevant-field/m-p/832518#M18824</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;In the form, I am asking the person to record the hue, value and chroma of the soil they are looking at. Based on their input, I have a text read only field that will display the soil color name. For example if the hue is Gley 1 the color will be white so in the relevant field I have ${hue}='gley1' . I need to do something more complex that requires regex but not sure of the syntax. Would it be ${hue}=regex([A-Z]\w) or regex(${hue},"[A-Z]\w")?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 May 2016 13:32:52 GMT</pubDate>
    <dc:creator>MatthewHenderson1</dc:creator>
    <dc:date>2016-05-12T13:32:52Z</dc:date>
    <item>
      <title>Using regex in relevant field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-regex-in-relevant-field/m-p/832518#M18824</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #222222; font-family: arial, helvetica, 'helvetica neue', verdana, sans-serif; font-size: 14px;"&gt;In the form, I am asking the person to record the hue, value and chroma of the soil they are looking at. Based on their input, I have a text read only field that will display the soil color name. For example if the hue is Gley 1 the color will be white so in the relevant field I have ${hue}='gley1' . I need to do something more complex that requires regex but not sure of the syntax. Would it be ${hue}=regex([A-Z]\w) or regex(${hue},"[A-Z]\w")?&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 13:32:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-regex-in-relevant-field/m-p/832518#M18824</guid>
      <dc:creator>MatthewHenderson1</dc:creator>
      <dc:date>2016-05-12T13:32:52Z</dc:date>
    </item>
    <item>
      <title>Re: Using regex in relevant field?</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/using-regex-in-relevant-field/m-p/832519#M18825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Got it. I'm using the Munsell soil color chart and the result for when someone selects Hue: Gley 1 Value: 8 Chroma: N will popup as white when the following code is entered into the 'relevant' field:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" style="width: 170px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD height="22" style="font-size: 10pt; color: black; font-family: Arial; border-top-width: 0.5pt; border-style: solid none none; border-top-color: #9bbb59;" width="170"&gt;regex(${hue},'g.*') and regex(${value},'8') and regex(${gley1},'n')&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 May 2016 16:11:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/using-regex-in-relevant-field/m-p/832519#M18825</guid>
      <dc:creator>MatthewHenderson1</dc:creator>
      <dc:date>2016-05-12T16:11:42Z</dc:date>
    </item>
  </channel>
</rss>

