<?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 The prxmatch function in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453402#M284036</link>
    <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been struggling to use the prxmatch function to validate email addresses. Can anyone direct me to a resource to use please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;</description>
    <pubDate>Wed, 11 Apr 2018 22:47:49 GMT</pubDate>
    <dc:creator>frupaul</dc:creator>
    <dc:date>2018-04-11T22:47:49Z</dc:date>
    <item>
      <title>The prxmatch function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453402#M284036</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have been struggling to use the prxmatch function to validate email addresses. Can anyone direct me to a resource to use please?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;THanks&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 22:47:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453402#M284036</guid>
      <dc:creator>frupaul</dc:creator>
      <dc:date>2018-04-11T22:47:49Z</dc:date>
    </item>
    <item>
      <title>Re: The prxmatch function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453406#M284037</link>
      <description>&lt;P&gt;In general, you'll find macros and examples most easily on LexJansen.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://lexjansen.com/search/searchresults.php?q=prx%20email%20addresses" target="_blank"&gt;https://lexjansen.com/search/searchresults.php?q=prx%20email%20addresses&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 22:57:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453406#M284037</guid>
      <dc:creator>Reeza</dc:creator>
      <dc:date>2018-04-11T22:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: The prxmatch function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453413#M284038</link>
      <description>&lt;P&gt;prxmatch uses Perl regular expressions (except for the more arcane expressions), so most &lt;A href="https://www.google.co.nz/search?q=regex+email+address" target="_self"&gt;examples&lt;/A&gt; on the web can be used in prxmatch.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is a simple one.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data TEST;
  input EMAIL :$60.;  
  IS_VALID=prxmatch('/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,64}$/i',strip(EMAIL));
cards;       
robot@sas.com            
james.taylor@sas.co.nz
james@taylor@sas.co.nz
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;TABLE width="165"&gt;
&lt;TBODY&gt;
&lt;TR&gt;
&lt;TD width="165"&gt;IS_VALID&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;1&lt;/TD&gt;
&lt;/TR&gt;
&lt;TR&gt;
&lt;TD&gt;0&lt;/TD&gt;
&lt;/TR&gt;
&lt;/TBODY&gt;
&lt;/TABLE&gt;</description>
      <pubDate>Wed, 11 Apr 2018 23:55:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453413#M284038</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-04-11T23:55:51Z</dc:date>
    </item>
    <item>
      <title>Re: The prxmatch function</title>
      <link>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453455#M284039</link>
      <description>&lt;P&gt;There is a discussion on stackoverflow: &lt;A href="https://stackoverflow.com/questions/201323/how-to-validate-an-email-address-using-a-regular-expression" target="_blank"&gt;https://stackoverflow.com/questions/201323/how-to-validate-an-email-address-using-a-regular-expression&lt;/A&gt; about validating e-mail addresses. If your code needs to be 100% RFC822 compliant, the expression is a bit more complex &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 06:13:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/The-prxmatch-function/m-p/453455#M284039</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2018-04-12T06:13:24Z</dc:date>
    </item>
  </channel>
</rss>

