Tell it not to match "
$string =~ s/"([^"]+)"?/$1/;
Update: after I posted, I realised that if you don't care for the closing quote, then you can simply remove all quotes:
--$string =~ s/"//g;
In reply to Re: Matching quote characters?
by Leviathan
in thread Matching quote characters?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |