<?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: Mask the numbers in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812111#M320402</link>
    <description>&lt;PRE&gt;data aadhar ;
input aadhar $ 28.;
datalines ;
1727-8514-4648
;
run;


data mask;
set aadhar;
new=prxchange('s/\d+/xxxx/',2,aadhar);
run;&lt;/PRE&gt;</description>
    <pubDate>Mon, 09 May 2022 10:23:38 GMT</pubDate>
    <dc:creator>Ksharp</dc:creator>
    <dc:date>2022-05-09T10:23:38Z</dc:date>
    <item>
      <title>Mask the numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812086#M320389</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data aadhar ;
input aadhar $ 28.;
datalines ;
1727-8514-4648
;
run;


data mask;
set aadhar;
new=substr(aadhar,length(aadhar)-1,9)='xxxx';
run;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;I want to mask the first 8 numbers&amp;nbsp;&lt;/P&gt;
&lt;P&gt;required output&lt;/P&gt;
&lt;P&gt;xxxx-xxxx-4648&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 08:18:22 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812086#M320389</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2022-05-09T08:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Mask the numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812103#M320398</link>
      <description>&lt;P&gt;Will all values have the format of &amp;lt;4 digits&amp;gt;&amp;lt;hyphen&amp;gt;&amp;lt;4 digits&amp;gt;&amp;lt;hyphen&amp;gt;&amp;lt;4 digits&amp;gt;?&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 09:35:46 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812103#M320398</guid>
      <dc:creator>Kurt_Bremser</dc:creator>
      <dc:date>2022-05-09T09:35:46Z</dc:date>
    </item>
    <item>
      <title>Re: Mask the numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812111#M320402</link>
      <description>&lt;PRE&gt;data aadhar ;
input aadhar $ 28.;
datalines ;
1727-8514-4648
;
run;


data mask;
set aadhar;
new=prxchange('s/\d+/xxxx/',2,aadhar);
run;&lt;/PRE&gt;</description>
      <pubDate>Mon, 09 May 2022 10:23:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812111#M320402</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-05-09T10:23:38Z</dc:date>
    </item>
    <item>
      <title>Re: Mask the numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812113#M320403</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Sharp&lt;/P&gt;
&lt;P&gt;Thank you for your solution&amp;nbsp; I am not good at regular expressions&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 09 May 2022 10:32:03 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812113#M320403</guid>
      <dc:creator>BrahmanandaRao</dc:creator>
      <dc:date>2022-05-09T10:32:03Z</dc:date>
    </item>
    <item>
      <title>Re: Mask the numbers</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812115#M320405</link>
      <description>Then check documentation and learn it . It is a must-have skill for sas programmer .</description>
      <pubDate>Mon, 09 May 2022 10:41:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Mask-the-numbers/m-p/812115#M320405</guid>
      <dc:creator>Ksharp</dc:creator>
      <dc:date>2022-05-09T10:41:12Z</dc:date>
    </item>
  </channel>
</rss>

