<?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: Reg:Removing &amp;lt; &amp;gt; in SAS Procedures</title>
    <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10019#M867</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS has excellent documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p06i7305izsnvcn1ru9147suzyv5.htm"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p06i7305izsnvcn1ru9147suzyv5.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and there are lots of SGF papers on regular expressions and SAS.&amp;nbsp; Suggest you go there first as it is available 24/7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Sep 2011 14:58:54 GMT</pubDate>
    <dc:creator>DLing</dc:creator>
    <dc:date>2011-09-16T14:58:54Z</dc:date>
    <item>
      <title>Reg:Removing &lt; &gt;</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10015#M863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi i am having data like this &lt;/P&gt;&lt;P&gt;"good work done &amp;lt;123.http&amp;gt; by &amp;lt;lpo;"340&amp;gt; nani &amp;lt;//,89:789&amp;gt; kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;now i wnat to remove the data in between these symbols &amp;lt; &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;output :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"good work done by nani kumar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 13:32:00 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10015#M863</guid>
      <dc:creator>sas_Forum</dc:creator>
      <dc:date>2011-09-15T13:32:00Z</dc:date>
    </item>
    <item>
      <title>Reg:Removing &lt; &gt;</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10016#M864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at this similar post, it should provide your answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/message/103590#103590"&gt;http://communities.sas.com/message/103590#103590&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 14:48:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10016#M864</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-15T14:48:02Z</dc:date>
    </item>
    <item>
      <title>Reg:Removing &lt; &gt;</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10017#M865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;And, if you're not used to using regular expressions, the following is an example using your data with the code suggested in that post:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; informat string $80.;&lt;/P&gt;&lt;P&gt;&amp;nbsp; input string &amp;amp;;&lt;/P&gt;&lt;P&gt;&amp;nbsp; cards4;&lt;/P&gt;&lt;P&gt;good work done &amp;lt;123.http&amp;gt; by &amp;lt;lpo;"340&amp;gt; nani &amp;lt;//,89:789&amp;gt; kumar&lt;/P&gt;&lt;P&gt;now &amp;lt;dfkljdfj&amp;gt; is the &amp;lt;jkfiuoiewurk&amp;gt; time for it&lt;/P&gt;&lt;P&gt;;;;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want (drop=rx);&lt;/P&gt;&lt;P&gt;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp; if _n_ eq 1 then rx = prxparse('s/&amp;lt;[^&amp;gt;]*&amp;gt;//');&lt;/P&gt;&lt;P&gt;&amp;nbsp; retain rx;&lt;/P&gt;&lt;P&gt;&amp;nbsp; string = prxchange(rx,100,string);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Sep 2011 14:56:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10017#M865</guid>
      <dc:creator>art297</dc:creator>
      <dc:date>2011-09-15T14:56:44Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:Removing &lt; &gt;</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10018#M866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi art can u tell me what &lt;/P&gt;&lt;P&gt;&lt;/P&gt;prxparse('s/&amp;lt;[^&amp;gt;]*&amp;gt;//');&amp;nbsp; is this means like 's/&amp;lt;[^&amp;gt;]*&amp;gt;//'&amp;nbsp; and what prxchange will do ,can you expalin me &lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:24:14 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10018#M866</guid>
      <dc:creator>sas_Forum</dc:creator>
      <dc:date>2011-09-16T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:Removing &lt; &gt;</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10019#M867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SAS has excellent documentation:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p06i7305izsnvcn1ru9147suzyv5.htm"&gt;http://support.sas.com/documentation/cdl/en/lefunctionsref/63354/HTML/default/viewer.htm#p06i7305izsnvcn1ru9147suzyv5.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and there are lots of SGF papers on regular expressions and SAS.&amp;nbsp; Suggest you go there first as it is available 24/7.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 14:58:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10019#M867</guid>
      <dc:creator>DLing</dc:creator>
      <dc:date>2011-09-16T14:58:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reg:Removing &lt; &gt;</title>
      <link>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10020#M868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DLing is correct about reference the documentation that is available.&amp;nbsp; I will explain that regular expression briefly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;s/&amp;lt;[^&amp;gt;]*&amp;gt;//&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;substitute, look for &amp;lt; that is not immediately followed by &amp;gt; but has any other string inbetween another &amp;gt;, replace with nil&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also by using the prxdebug function you will get nice information in your log about what it is doing, can help you understand, maybe.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Sep 2011 17:23:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Procedures/Reg-Removing-lt-gt/m-p/10020#M868</guid>
      <dc:creator>FriedEgg</dc:creator>
      <dc:date>2011-09-16T17:23:33Z</dc:date>
    </item>
  </channel>
</rss>

