<?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>Featured content from SAS Support Communities</title>
 <link>https://communities.sas.com</link>
 <description>These featured topics are the most recent from SAS Support Communities</description>
  <item>
   <title>SAS EG to Clean Email Addresses</title>
    <link>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-to-Clean-Email-Addresses/td-p/304693</link>
       <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Forgive me as I am a new SAS EG user (version 7.1); I have been assigned a data scrubbing task and it&#39;s been requested that I use SAS EG in order to do so.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&#39;ve been moving forward fairly well; however, I&#39;ve encountered a problem that I cannot seem to intuitively resolve. I have several data sets which all have email addresses. Some of my email addresses contain junk characters which I have used the compress function to remove.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Unfortunately, I also have email addresses where I&#39;d like to remove some characters based on where in the email address they are positioned.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here are 2 examples:&lt;/P&gt;&lt;P&gt;Email Address: ..johndoe@gmail.com&lt;/P&gt;&lt;P&gt;Email Address: johndoe@gmail.com..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously you can see what I need to do.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I&#39;d like to use an advanced expression to&lt;/P&gt;&lt;P&gt;1. Remove all non-alphabetic characters before the first alphabetic character in the email string&lt;/P&gt;&lt;P&gt;2. Remove all characters after &quot;.com&quot;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Tessa&lt;/P&gt;</description>
    <guid>https://communities.sas.com/t5/SAS-Enterprise-Guide/SAS-EG-to-Clean-Email-Addresses/td-p/304693</guid>
    <pubDate>Fri, 14 Oct 2016 07:56:44 GMT</pubDate>
  </item>
</channel>
</rss>

