<?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 Regex to remove (anythng) from string? in SAS Programming</title>
    <link>https://communities.sas.com/t5/SAS-Programming/Regex-to-remove-anythng-from-string/m-p/104964#M21880</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x=prxchange('s/\(*[^)]\)//',1,x);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to remove text between two parens (including removing the parens) from a string.&amp;nbsp; However, this isn't working completely.&amp;nbsp;&amp;nbsp; If the string is:&amp;nbsp; "this is a test (hello world)", i'm getting "this is a test (hello world".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the right regex to use to accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Dec 2012 21:45:54 GMT</pubDate>
    <dc:creator>SciFiGuy0</dc:creator>
    <dc:date>2012-12-19T21:45:54Z</dc:date>
    <item>
      <title>Regex to remove (anythng) from string?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Regex-to-remove-anythng-from-string/m-p/104964#M21880</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to use:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;x=prxchange('s/\(*[^)]\)//',1,x);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to remove text between two parens (including removing the parens) from a string.&amp;nbsp; However, this isn't working completely.&amp;nbsp;&amp;nbsp; If the string is:&amp;nbsp; "this is a test (hello world)", i'm getting "this is a test (hello world".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's the right regex to use to accomplish this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 21:45:54 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Regex-to-remove-anythng-from-string/m-p/104964#M21880</guid>
      <dc:creator>SciFiGuy0</dc:creator>
      <dc:date>2012-12-19T21:45:54Z</dc:date>
    </item>
    <item>
      <title>Re: Regex to remove (anythng) from string?</title>
      <link>https://communities.sas.com/t5/SAS-Programming/Regex-to-remove-anythng-from-string/m-p/104965#M21881</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try:&lt;/P&gt;&lt;P&gt;x=prxchange('s/\(.*\)//',1,x);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;cheers&lt;/P&gt;&lt;P&gt;Steve&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Dec 2012 22:43:02 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Programming/Regex-to-remove-anythng-from-string/m-p/104965#M21881</guid>
      <dc:creator>SteveNZ</dc:creator>
      <dc:date>2012-12-19T22:43:02Z</dc:date>
    </item>
  </channel>
</rss>

