<?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 extract only character and numeric values, remove special character in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402620#M97797</link>
    <description>&lt;P&gt;hello ALL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a&amp;nbsp; solution which extract only character (A-Z) and numeric (0-9) data, remove special character and space.&lt;/P&gt;&lt;P&gt;Is there any function for same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output should be : Ram7shaym&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data temp;
input A $50.;
datalines;
Ram7$%?shay m
;
run;


&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 06:52:52 GMT</pubDate>
    <dc:creator>Riteshdell</dc:creator>
    <dc:date>2017-10-10T06:52:52Z</dc:date>
    <item>
      <title>extract only character and numeric values, remove special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402620#M97797</link>
      <description>&lt;P&gt;hello ALL,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am looking for a&amp;nbsp; solution which extract only character (A-Z) and numeric (0-9) data, remove special character and space.&lt;/P&gt;&lt;P&gt;Is there any function for same.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Output should be : Ram7shaym&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;data temp;
input A $50.;
datalines;
Ram7$%?shay m
;
run;


&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 06:52:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402620#M97797</guid>
      <dc:creator>Riteshdell</dc:creator>
      <dc:date>2017-10-10T06:52:52Z</dc:date>
    </item>
    <item>
      <title>Re: extract only character and numeric values, remove special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402621#M97798</link>
      <description>The function translate can do this, maybe you need to call it more than once.</description>
      <pubDate>Tue, 10 Oct 2017 06:53:53 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402621#M97798</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2017-10-10T06:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: extract only character and numeric values, remove special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402622#M97799</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/15475"&gt;@andreas_lds&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Sounds like a use case for the compress() function.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data temp;
  input A $50.;
  wantstr=compress(a,,'kda');
  datalines;
Ram7$%?shay m
;
run;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Oct 2017 06:59:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402622#M97799</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-10-10T06:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: extract only character and numeric values, remove special character</title>
      <link>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402627#M97801</link>
      <description>&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12447"&gt;@Patrick&lt;/a&gt;: of course, compress is the easier way to solve this &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Tue, 10 Oct 2017 07:08:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/extract-only-character-and-numeric-values-remove-special/m-p/402627#M97801</guid>
      <dc:creator>andreas_lds</dc:creator>
      <dc:date>2017-10-10T07:08:38Z</dc:date>
    </item>
  </channel>
</rss>

