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:
If you want to take care of nested quotes, take a look at Parse::RecDescent or the likes.substr($line,-3,2)=''; #assuming your line ends with a newline $line =~ tr/"//d; #deletes all quotes in your text
Cheers,
Jeroen
|
---|
In Section
Seekers of Perl Wisdom