<?xml version="1.0" encoding="windows-1252"?>
<node id="531461" title="Re: Split a string to remove quotes and parentheses" created="2006-02-20 11:55:54" updated="2006-02-20 06:55:54">
<type id="11">
note</type>
<author id="132645">
vladb</author>
<data>
<field name="doctext">
You can try perl search/replace regexp:
&lt;code&gt;
$s = '("test123")';
$s =~ s/(\("|"\))//g;
print "$s\n";
&lt;/code&gt;
Will print:
&lt;pre&gt;
test123
&lt;/pre&gt;

&lt;!-- Node text goes above. Div tags should contain sig only --&gt;
&lt;div class="pmsig"&gt;&lt;div class="pmsig-132645"&gt;
&lt;br&gt;&lt;br&gt;
_____________________&lt;br&gt;
&lt;font size="2"&gt;
"We've all heard that a million monkeys banging on a million typewriters will eventually reproduce&lt;br&gt; the entire works of Shakespeare. Now, thanks to the Internet, we know this is not true."
&lt;p/&gt;
Robert Wilensky, University of California
&lt;/font&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
531458</field>
<field name="parent_node">
531458</field>
</data>
</node>
