<?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: space and &amp;quot;/&amp;quot; in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/space-and-quot-quot/m-p/445650#M111701</link>
    <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data t;
  COL2=prxchange('s/(\/| )/_/', -1, '1/2 3');
  put COL2=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;COL2=1_2_3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 14 Mar 2018 22:26:12 GMT</pubDate>
    <dc:creator>ChrisNZ</dc:creator>
    <dc:date>2018-03-14T22:26:12Z</dc:date>
    <item>
      <title>space and "/"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/space-and-quot-quot/m-p/445646#M111698</link>
      <description>&lt;P&gt;&lt;BR /&gt;I'm trying to replace space and "/"&amp;nbsp; with an underscore. but the following replaces only "/" with an undrscore not a space. Any help to include space in regex?&lt;BR /&gt;&lt;BR /&gt;proc sql ;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; select catx('=',_name_,prxchange('s/[,\/\\]/_/', -1, col1))&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; into :rename separated by ' '&lt;BR /&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; from temp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;BR /&gt;quit;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 21:57:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/space-and-quot-quot/m-p/445646#M111698</guid>
      <dc:creator>SASPhile</dc:creator>
      <dc:date>2018-03-14T21:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: space and "/"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/space-and-quot-quot/m-p/445650#M111701</link>
      <description>&lt;P&gt;Like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;data t;
  COL2=prxchange('s/(\/| )/_/', -1, '1/2 3');
  put COL2=;
run;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;COL2=1_2_3&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 22:26:12 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/space-and-quot-quot/m-p/445650#M111701</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-03-14T22:26:12Z</dc:date>
    </item>
    <item>
      <title>Re: space and "/"</title>
      <link>https://communities.sas.com/t5/SAS-Programming/space-and-quot-quot/m-p/445651#M111702</link>
      <description>&lt;P&gt;Or this is you want to use a character class.&lt;/P&gt;
&lt;P&gt;&lt;FONT face="courier new,courier"&gt; COL2=prxchange('s/[\/ ]/_/', -1, '1/2 3');&lt;/FONT&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Mar 2018 22:27:38 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/space-and-quot-quot/m-p/445651#M111702</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2018-03-14T22:27:38Z</dc:date>
    </item>
  </channel>
</rss>

