http://qs321.pair.com?node_id=125396


in reply to Regex question

If the tab and the '\' are always at the end of a line, you can use the lvalue of substr:
substr($line,-3,2)=''; #assuming your line ends with a newline $line =~ tr/"//d; #deletes all quotes in your text
If you want to take care of nested quotes, take a look at Parse::RecDescent or the likes.

Cheers,

Jeroen