perlquestion
better
<p>I'm trying to parse a table from a RTF file and parse each line from a table into an array. I tried to read it as a normal file into an array.</p>
<code>while (<$fhIn>) {
@arr = split ("row", $_);</code>
<p>I would like to remove all the chart defining paramters, like:.</p>
<code>;cell}\pard\intbl{\fs20\f2\cf0\cb1</code>
<p>After having parsed the table into an array, I tried with substitute: $_=~ s/foo//;/ But the wanted string doesn't grab the cell paramaters. They stay unchanged. All I can do is to delete single words like 'cell', 'cb1' etc.</p>
<p>Any hint how to start? </p>
<p>better</p>