<?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 deleting different elements from a text in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/deleting-different-elements-from-a-text/m-p/215808#M5204</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose I have the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="123" style="border: 1px solid rgb(0, 0, 0); width: 455px; height: 125px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;text&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;The generalized general idea&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Hon. member &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;some text&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In every cell, whenever they are present, I would like to delete the following elements: 'The' , 'general' , 'Hon.' .&lt;/P&gt;&lt;P&gt;So the table becomes the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); width: 434px; height: 99px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;text&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;generalized idea&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;member&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;text&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 15 May 2015 22:21:15 GMT</pubDate>
    <dc:creator>ilikesas</dc:creator>
    <dc:date>2015-05-15T22:21:15Z</dc:date>
    <item>
      <title>deleting different elements from a text</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/deleting-different-elements-from-a-text/m-p/215808#M5204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;suppose I have the following table:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="123" style="border: 1px solid rgb(0, 0, 0); width: 455px; height: 125px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;text&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;The generalized general idea&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;Hon. member &lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;some text&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In every cell, whenever they are present, I would like to delete the following elements: 'The' , 'general' , 'Hon.' .&lt;/P&gt;&lt;P&gt;So the table becomes the following:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;TABLE border="1" class="jiveBorder" height="99" style="border: 1px solid rgb(0, 0, 0); width: 434px; height: 99px;"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TH style="text-align: center; background-color: #6690bc; color: #ffffff; padding: 2px;" valign="middle"&gt;&lt;STRONG&gt;text&lt;/STRONG&gt;&lt;/TH&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;generalized idea&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;member&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD style="padding: 2px;"&gt;text&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 22:21:15 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/deleting-different-elements-from-a-text/m-p/215808#M5204</guid>
      <dc:creator>ilikesas</dc:creator>
      <dc:date>2015-05-15T22:21:15Z</dc:date>
    </item>
    <item>
      <title>Re: deleting different elements from a text</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/deleting-different-elements-from-a-text/m-p/215809#M5205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://communities.sas.com/thread/76418"&gt;https://communities.sas.com/thread/76418&lt;/A&gt; is a similar thread, you may get some ideas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 22:38:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/deleting-different-elements-from-a-text/m-p/215809#M5205</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2015-05-15T22:38:44Z</dc:date>
    </item>
    <item>
      <title>Re: deleting different elements from a text</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/deleting-different-elements-from-a-text/m-p/215810#M5206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;data have;&lt;/P&gt;&lt;P&gt;input text $50.;&lt;/P&gt;&lt;P&gt;cards;&lt;/P&gt;&lt;P&gt;The generalized general idea&lt;/P&gt;&lt;P&gt;Hon. member&lt;/P&gt;&lt;P&gt;some text&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data want;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; set have;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; _text=prxchange('s/Hon.|some|the|general\b//i',-1,text);&lt;/P&gt;&lt;P&gt;run;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 May 2015 22:42:51 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/deleting-different-elements-from-a-text/m-p/215810#M5206</guid>
      <dc:creator>slchen</dc:creator>
      <dc:date>2015-05-15T22:42:51Z</dc:date>
    </item>
  </channel>
</rss>

