<?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 make it ass valid email adrdress? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-ass-valid-email-adrdress/m-p/692135#M210780</link>
    <description>&lt;P&gt;Thank you soo much!!&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Oct 2020 14:30:46 GMT</pubDate>
    <dc:creator>Siva_Harish</dc:creator>
    <dc:date>2020-10-16T14:30:46Z</dc:date>
    <item>
      <title>How to make it ass valid email adrdress?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-ass-valid-email-adrdress/m-p/692069#M210744</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I have different type of data like com,.com and for&amp;nbsp; some data don't have any com or .com just ended with .(dot). so, i want add '@gmail.com'&amp;nbsp; to make it as valid mail address by removing dot at the end (if exists) .&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input gh $50.;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;siva.harish.507.com&lt;/P&gt;&lt;P&gt;charyawkward&lt;/P&gt;&lt;P&gt;mankindcom&lt;/P&gt;&lt;P&gt;sooper.12.dooper.&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;input gh $50.;&lt;/P&gt;&lt;P&gt;datalines;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:siva.harish.507@gmailcom" target="_blank"&gt;siva.harish.507@gmailcom &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:charyawkward@gmail.com" target="_blank"&gt;charyawkward@gmail.com &lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="mailto:mankind@gmail.com" target="_blank"&gt;mankind@gmail.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;sooper12dooper@gmail.com&lt;/P&gt;&lt;P&gt;; run;&lt;/P&gt;&lt;P&gt;My Code&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;data ds;&lt;/P&gt;&lt;P&gt;set have;&lt;/P&gt;&lt;P&gt;sa=find(gh,"com");&lt;/P&gt;&lt;P&gt;bd=substr(gh,1,sa-1);&lt;/P&gt;&lt;P&gt;sdj=compress(bd||'@gmail.com');&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 08:06:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-ass-valid-email-adrdress/m-p/692069#M210744</guid>
      <dc:creator>Siva_Harish</dc:creator>
      <dc:date>2020-10-16T08:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to make it ass valid email adrdress?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-ass-valid-email-adrdress/m-p/692104#M210766</link>
      <description>&lt;PRE&gt;data have;
input gh $50.;

want=cats(prxchange('s/(\.|com|\.com)$//',1,strip(gh)) , '@gmail.com');

datalines;
siva.harish.507.com
charyawkward
mankindcom
sooper.12.dooper.
;
run;&lt;/PRE&gt;</description>
      <pubDate>Fri, 16 Oct 2020 12:01:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-ass-valid-email-adrdress/m-p/692104#M210766</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2020-10-16T12:01:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to make it ass valid email adrdress?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-ass-valid-email-adrdress/m-p/692135#M210780</link>
      <description>&lt;P&gt;Thank you soo much!!&amp;nbsp;&amp;nbsp;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/18408"&gt;@Ksharp&lt;/a&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 14:30:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/How-to-make-it-ass-valid-email-adrdress/m-p/692135#M210780</guid>
      <dc:creator>Siva_Harish</dc:creator>
      <dc:date>2020-10-16T14:30:46Z</dc:date>
    </item>
  </channel>
</rss>

