<?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>validateemailaddress() ?</title><link>https://community.appian.com/discussions/f/general/21788/validateemailaddress</link><description>What all cases are covered while using validateemailaddress() ?</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/109603?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 05:36:42 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:22883eea-abbe-4542-ab62-5ca6a26ae52c</guid><dc:creator>ujjwalr0002</dc:creator><description>&lt;p&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1679031457877v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/109601?ContentTypeID=1</link><pubDate>Fri, 17 Mar 2023 04:47:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:e2fe2294-38f9-45e6-bb94-0de69e93ca6d</guid><dc:creator>zeldat7413</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/105693?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2022 21:28:13 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:bdf46127-e5d9-4d8c-8128-f40d7c9c5557</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;You would put the message at the parent (interface) level when this rule returns a FALSE value, for instance.&lt;/p&gt;
&lt;p&gt;But really, it&amp;#39;s an expression rule, you can make yours return any value you want - that&amp;#39;s a pretty basic change. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/105685?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2022 16:03:26 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:f76e1f0f-4195-4d1f-869e-0205db91b545</guid><dc:creator>davinar9817</dc:creator><description>&lt;p&gt;Is there a way to display a message instead of a boolean value with this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/105684?ContentTypeID=1</link><pubDate>Fri, 16 Dec 2022 15:53:06 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:99fcc0a3-7366-49ef-8452-de0da7afcc56</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;This pattern fails a bunch of the test cases I have set up in my Validate Email Addresses expression rule.&amp;nbsp; Two of the most obvious/important failure cases is that it doesn&amp;#39;t return &amp;quot;false&amp;quot; for email addresses beginning or ending with extraneous periods (&amp;quot;.&amp;quot;).&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1671205953420v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;This is the pattern I use in mine, which passes a rather rigorous 18 test cases (though i can&amp;#39;t guarantee it passes all realistic ones, just the ones i&amp;#39;ve been able to think of).&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="java"&gt;regexmatch(
  pattern: &amp;quot;^[A-Z0-9\&amp;#39;\+\&amp;amp;\%_-]+(\.{0,1}[A-Z0-9\&amp;#39;\+\&amp;amp;\%_-]+)*[@]{1}[A-Z0-9.-]*[A-Z0-9-]+[.]{1}[A-Z]{2,6}$&amp;quot;,
  searchString: ri!email,
  regexFlags: &amp;quot;si&amp;quot;
)&lt;/pre&gt;&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1671205974682v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Also note: all of the above test cases also correctly pass using the &amp;quot;&lt;em&gt;validateEmailAddress()&lt;/em&gt;&amp;quot; function from &lt;strong&gt;People Functions&lt;/strong&gt;, for what it&amp;#39;s worth.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/105547?ContentTypeID=1</link><pubDate>Wed, 14 Dec 2022 04:05:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:b0aea63c-6313-4d5d-ba77-f82e44869838</guid><dc:creator>peanut</dc:creator><description>&lt;p&gt;for validating email address you can use this regex&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regexmatch(&amp;quot;&lt;strong&gt;^[\w\.\-]+@[\w\.\-]+\.[\w\.]{2,}$&lt;/strong&gt;&amp;quot;,ri!input)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/105490?ContentTypeID=1</link><pubDate>Tue, 13 Dec 2022 12:57:20 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:0de946c4-c17f-4ade-8e20-c79ed99b6810</guid><dc:creator>Arpit Bohra</dc:creator><description>&lt;p&gt;No all the cases will not be covered using that function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can use the below regex expression to check that&amp;nbsp;&lt;/p&gt;
&lt;div&gt;&amp;quot;^[a-zA-Z0-9+_.-]+@[a-zA-Z0-9.-]+$&amp;quot;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/99613?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 12:14:37 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:a263d965-8c0e-40bf-a8c9-f3481325cff9</guid><dc:creator>Mike Schmitt</dc:creator><description>&lt;p&gt;nice try...&lt;br /&gt;&lt;img src="/resized-image/__size/320x240/__key/communityserver-discussions-components-files/11/pastedimage1660738502777v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/99607?ContentTypeID=1</link><pubDate>Wed, 17 Aug 2022 08:18:56 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:3b9ad7e2-da76-4ec6-816c-54dc718c6deb</guid><dc:creator>everettj3960</dc:creator><description>[deleted]&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/85365?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 19:39:05 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:d5303398-ca5c-4f98-a025-b1e8845dffd0</guid><dc:creator>mohammedi0002</dc:creator><description>&lt;p&gt;you can get the list of valid emails from google&amp;nbsp;&lt;a href="http://softwaretesterfriend.com/manual-testing/valid-invalid-email-address-format-validation/"&gt;http://softwaretesterfriend.com/manual-testing/valid-invalid-email-address-format-validation/&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Tried some based on the valid email format mentioned in the site for some it didnt work.&lt;/p&gt;
&lt;p&gt;&lt;img src="/resized-image/__size/640x480/__key/communityserver-discussions-components-files/11/pastedimage1630525083282v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: validateemailaddress() ?</title><link>https://community.appian.com/thread/85335?ContentTypeID=1</link><pubDate>Wed, 01 Sep 2021 13:09:39 GMT</pubDate><guid isPermaLink="false">d3a83456-d57b-489c-a84c-4e8267bb592a:73762ba4-8532-432c-9adf-0bf942fd8d6f</guid><dc:creator>Stefan Helzle</dc:creator><description>&lt;p&gt;As this is no function of the Appian product, you would need to check the code.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>