<?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 Regular expression in perl in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Regular-expression-in-perl/m-p/760110#M240323</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to replace PQR&amp;nbsp; and -00(basically the number after hyphen ,&amp;nbsp; - 00 should alsoconsider if any spaces after hyphen&amp;nbsp; and before 00) to space.&lt;/P&gt;
&lt;P&gt;address=&amp;nbsp; "7 12-00 ABC XYZ RD PQR BEACH QLD 1234".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used the below expression&amp;nbsp; to replace PQR with&amp;nbsp; space.&lt;/P&gt;
&lt;P&gt;prxchange('s/\b(PQR)\b//i',-1,address).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Neeed help with how to replace -00(should alsoconsider any spaces between hyphen and 00)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sat, 07 Aug 2021 00:02:35 GMT</pubDate>
    <dc:creator>sfffdg</dc:creator>
    <dc:date>2021-08-07T00:02:35Z</dc:date>
    <item>
      <title>Regular expression in perl</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Regular-expression-in-perl/m-p/760110#M240323</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have to replace PQR&amp;nbsp; and -00(basically the number after hyphen ,&amp;nbsp; - 00 should alsoconsider if any spaces after hyphen&amp;nbsp; and before 00) to space.&lt;/P&gt;
&lt;P&gt;address=&amp;nbsp; "7 12-00 ABC XYZ RD PQR BEACH QLD 1234".&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have used the below expression&amp;nbsp; to replace PQR with&amp;nbsp; space.&lt;/P&gt;
&lt;P&gt;prxchange('s/\b(PQR)\b//i',-1,address).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Neeed help with how to replace -00(should alsoconsider any spaces between hyphen and 00)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 00:02:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Regular-expression-in-perl/m-p/760110#M240323</guid>
      <dc:creator>sfffdg</dc:creator>
      <dc:date>2021-08-07T00:02:35Z</dc:date>
    </item>
    <item>
      <title>Re: Regular expression in perl</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Regular-expression-in-perl/m-p/760131#M240336</link>
      <description>&lt;P&gt;Your need is unclear. Like this?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-sas"&gt;prxchange('s/\b(PQR|-\s*\d*)\b/ /i', -1, ADDRESS).&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 07 Aug 2021 06:35:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Regular-expression-in-perl/m-p/760131#M240336</guid>
      <dc:creator>ChrisNZ</dc:creator>
      <dc:date>2021-08-07T06:35:52Z</dc:date>
    </item>
  </channel>
</rss>

