You probably want to use the solutions by the others above. I was just playing with it...my $string = q~<tr align=right><td>/export/home3</td><td>308218</td><t +d>307200</td><td>308224</td><td>7.0 days</td><td>0</td><td>0</td><td> +0</td><td>-</td></tr>~; $string =~ s/<.*?><.*?>/\n/g and print $string; # output /export/home3 308218 307200 308224 7.0 days 0 0 0 -
In reply to Re: ugly regex question
by kiat
in thread ugly regex question
by jcpunk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |