<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.appian.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Regex</title><link>https://community.appian.com/discussions/f/user-interface/29427/regex</link><description>Hi, 
 I want to use regex function to check if the entered value is a text ( both upper and lower case check) and if it&amp;#39;s more than 12 characters. ^[a-zA-Z]{1-12}$&amp;quot; .I used like this. can someone guide here.</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: Regex</title><link>https://community.appian.com/thread/144015?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2025 12:28:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:4707d3a1-6dc3-4d25-b86e-33ad6e5f0e69</guid><dc:creator>sid</dc:creator><description>&lt;p&gt;I have same scenario where I need only numeric values how can we achieve this using regexmatch function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex</title><link>https://community.appian.com/thread/116605?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 12:26:11 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:741a4f74-d2bd-4487-8c2d-e8e7077024b8</guid><dc:creator>hema.mathivathanan</dc:creator><description>&lt;p&gt;Thanks a lot, it worked&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex</title><link>https://community.appian.com/thread/116604?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 12:13:43 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:51dea4ed-44c7-4491-a7c6-3cef390a4b10</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;This is confusing. Why do you check whether the string does NOT match the pattern. I mean, to make sure a string is digits only and max 12 characters, you can use this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;if(
  regexmatch(
    &amp;quot;^[0-9]{1,12}$&amp;quot;,
    ri!value,
  ),
  null,
  &amp;quot;The account must be numerical and no more than 12 numbers&amp;quot;
)&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex</title><link>https://community.appian.com/thread/116603?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 11:52:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:9eb7abbe-dc07-457a-9c44-c0b505bf9b31</guid><dc:creator>hema.mathivathanan</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1689940278702v1.png" alt=" " /&gt;&lt;br /&gt;Tried with comma.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex</title><link>https://community.appian.com/thread/116602?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 11:50:31 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:fa917bc3-9446-4c58-9447-5bb81180b7c7</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;I am missing that comma here&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/13/pastedimage1689940162543v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex</title><link>https://community.appian.com/thread/116601?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 11:47:35 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:806c8860-2411-4230-bc6f-bb101646175b</guid><dc:creator>hema.mathivathanan</dc:creator><description>&lt;p&gt;I used this in Validation for my field, but it&amp;#39;s not validating.&amp;nbsp;&lt;br /&gt;if(&lt;br /&gt; regexmatch(&lt;br /&gt; &amp;quot;^[A-Za-z]{12}$&amp;quot;,&lt;br /&gt; ri!frecord[],&lt;/p&gt;
&lt;p&gt;),&lt;br /&gt; &lt;br /&gt; &amp;quot;The account must be numerical and no more than 12 numbers&amp;quot;,&lt;br /&gt; {}&lt;br /&gt; )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Regex</title><link>https://community.appian.com/thread/116598?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2023 11:31:45 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b99c64e2-5e5d-4ab5-99ad-e6ebf3973552</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;&lt;span&gt;^[A-Za-z]{12,}$&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>