<?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 Re: how to get valid data in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99263#M20903</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Like I said, it could be overwhelming if you have never touched RegEx, while it is very powerful and not as hard to learn as it seems. You could just start from learning prxmatch:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002296115.htm" title="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002296115.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002296115.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have a solid understanding on the concept, you can get any book on Perl, the one I like is called 'perl black book', don't have it on hand, so can't get the exact name. Also, the cheat sheet provided in Patrick's link is very handy, but it has be after you know something about regex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Toby Dunn of SAS-L will have one book on SAS RegEX published (or maybe already ?). I suppose that would be a great book focusing on regex applications with SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 02 May 2012 11:40:02 GMT</pubDate>
    <dc:creator>Haikuo</dc:creator>
    <dc:date>2012-05-02T11:40:02Z</dc:date>
    <item>
      <title>how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99256#M20896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;i have a mailid dataset as follows&amp;nbsp; with coloumn mail&amp;nbsp; having mail id's and missing values and having invalid data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; mail&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; rawindar&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; raw...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:rawindar@gmail.com"&gt;rawindar@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; a...&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;A class="jive-link-email-small" href="mailto:abc@ymail.com"&gt;abc@ymail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now i want to get&amp;nbsp; valid mail id's&amp;nbsp; and i want to delete all other invalid.How can i get it.Can anybody help me plz&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;amp;Regards&lt;/P&gt;&lt;P&gt;Rawindarreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 08:03:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99256#M20896</guid>
      <dc:creator>rawindar</dc:creator>
      <dc:date>2012-05-01T08:03:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99257#M20897</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Email address validation is normally (not only in SAS) done using a Regular Expression (RegEx). In SAS you can use functions prxparse() and prxmatch() to define and apply regular expressions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Should you never have used regular expressions before then you will first need to read a bit about the topic in order to understand what it does.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've just Googled with the following keywords: "perl regex email validation". This gives you links with regular expressions for email validation. Just use an appropriate one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the SAS Regular Expression Tip Sheet:&amp;nbsp; &lt;A class="active_link" href="http://support.sas.com/rnd/base/datastep/perl_regexp/regexp-tip-sheet.pdf" title="http://support.sas.com/rnd/base/datastep/perl_regexp/regexp-tip-sheet.pdf"&gt;http://support.sas.com/rnd/base/datastep/perl_regexp/regexp-tip-sheet.pdf&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can find more about RegEx in the normal SAS documentation.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 09:59:29 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99257#M20897</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-05-01T09:59:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99258#M20898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Considering it could be a daunting task if you have never done regex before, To follow up Patrick's suggestion and to get you started with ease, here is an example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input emailid$50.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;aaikfhgiug&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:akdjf@akdfh.com"&gt;akdjf@akdfh.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;862495&lt;/P&gt;&lt;P&gt;akdjf@akfhd&lt;/P&gt;&lt;P&gt;aifghtd@ci_asdklf@co&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:af_$@yahoo.com"&gt;af_$@yahoo.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:aksdh89345@gmail.com"&gt;aksdh89345@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-email-small" href="mailto:adhf@yahoo.co.au"&gt;adhf@yahoo.co.au&lt;/A&gt;&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;if prxmatch("/[^@]+@[^@]+\.[^@]+/", emailid) = 1 then output;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;proc print;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: you may need to construct your own rules of being qualified as email id. The code above has adopted the following rules:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;one or more non '@' character or digit&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;followed by&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;'@'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;followed by &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;one or more non '@' character or digit&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;followed by&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;'.'&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;followed by&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;one or more non '@' character or digit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 May 2012 12:10:50 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99258#M20898</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-05-01T12:10:50Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99259#M20899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi hai.kuo&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i didnt understand what that job of praxmatch.I didnt understand how it works and what happening here.Can you help me to understand this code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp;Regards&lt;/P&gt;&lt;P&gt;Rawindarreddy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 08:58:42 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99259#M20899</guid>
      <dc:creator>rawindar</dc:creator>
      <dc:date>2012-05-02T08:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99260#M20900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;Dear Rawindarreddy.,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;hope this will help you.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;data test;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;input mailid $;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;cards;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;&lt;A class="jive-link-email-small" href="mailto:aaa@yahoo.com"&gt;aaa@yahoo.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;noid&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;&lt;A class="jive-link-email-small" href="mailto:xdfg@gmail.com"&gt;xdfg@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;&lt;A class="jive-link-email-small" href="mailto:ddd@yahoo.com"&gt;ddd@yahoo.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;&lt;A class="jive-link-email-small" href="mailto:ggg@gmail.com"&gt;ggg@gmail.com&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;rererrrrerer&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;run;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;proc sql;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;select * from test&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;where mailid contains '@';&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'comic sans ms', sans-serif;"&gt;quit;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 09:28:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99260#M20900</guid>
      <dc:creator>kuridisanjeev</dc:creator>
      <dc:date>2012-05-02T09:28:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99261#M20901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;prxmatch() is the SAS function used to test if a regular expression matches with a string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A regular expression allows you to define a text pattern - and with prxmatch() you then test if a string matches this pattern.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The syntax for Regular Expressions is in the beginning a bit hard to understand. But Regular Expressions are really something useful and it's worth learning at least the basics.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 09:56:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99261#M20901</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-05-02T09:56:27Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99262#M20902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be something like this would give a bit better results:&lt;/P&gt;&lt;P&gt;where mailid like &lt;A class="active_link" href="https://communities.sas.com/"&gt;'_@%._'&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Still not perfect and invalid mailaddresses can still pass the test (as said: RegEx is what's needed).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 10:00:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99262#M20902</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-05-02T10:00:49Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99263#M20903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Like I said, it could be overwhelming if you have never touched RegEx, while it is very powerful and not as hard to learn as it seems. You could just start from learning prxmatch:&lt;/P&gt;&lt;P&gt;&lt;A class="active_link" href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002296115.htm" title="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002296115.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a002296115.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To have a solid understanding on the concept, you can get any book on Perl, the one I like is called 'perl black book', don't have it on hand, so can't get the exact name. Also, the cheat sheet provided in Patrick's link is very handy, but it has be after you know something about regex.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, Toby Dunn of SAS-L will have one book on SAS RegEX published (or maybe already ?). I suppose that would be a great book focusing on regex applications with SAS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck!&lt;/P&gt;&lt;P&gt;Haikuo&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 11:40:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99263#M20903</guid>
      <dc:creator>Haikuo</dc:creator>
      <dc:date>2012-05-02T11:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99264#M20904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks sanjeev,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; But in case column contains values like 'abc@' means with out domain names we cant get values right.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 14:25:25 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99264#M20904</guid>
      <dc:creator>rawindar</dc:creator>
      <dc:date>2012-05-02T14:25:25Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99265#M20905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Rawindar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have you tried the code suggested by Patrick?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;where mailid like &lt;A class="active_link"&gt;'_@%._'&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 02 May 2012 20:18:45 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99265#M20905</guid>
      <dc:creator>Peter_C</dc:creator>
      <dc:date>2012-05-02T20:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99266#M20906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Patrick.I already tried it, its working but iam looking for any data step method instead of proc step.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 09:06:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99266#M20906</guid>
      <dc:creator>rawindar</dc:creator>
      <dc:date>2012-05-04T09:06:38Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99267#M20907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes Peter its working iam looking for to solve this in data step.But i couldnt understand that above functions. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 09:09:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99267#M20907</guid>
      <dc:creator>rawindar</dc:creator>
      <dc:date>2012-05-04T09:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid mail ids from a coloumn</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99268#M20908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;data want;&lt;BR /&gt;&amp;nbsp; set have;&lt;BR /&gt;&amp;nbsp; where mailid like &lt;A href="https://communities.sas.com/"&gt;'%@%.%'&lt;/A&gt;;&lt;BR /&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000202951.htm"&gt;http://support.sas.com/documentation/cdl/en/lrdict/64316/HTML/default/viewer.htm#a000202951.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 May 2012 09:51:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/99268#M20908</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2012-05-04T09:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: how to get valid data</title>
      <link>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/891095#M352077</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is another good one:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data email_data; input email $50.; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;datalines; user@example.com another_user@test.org invalid_email ; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;data matched_emails;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;set email_data; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if prxmatch('/\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b/', email) &amp;gt; 0; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;run;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 25 Aug 2023 18:21:43 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/how-to-get-valid-mail-ids-from-a-coloumn/m-p/891095#M352077</guid>
      <dc:creator>AlinaValencia</dc:creator>
      <dc:date>2023-08-25T18:21:43Z</dc:date>
    </item>
  </channel>
</rss>

