if you want to trim trailing double quotes
u can change your regex as follows
$line=' "the text" i found in "the" "line'; $line =~ s/(\w)"/$1/g; print $line;
output:
"the tex i found in "the "line
regards,
Senthil Kumar.k
In reply to Re: Trimming trailing double quotes
by perlsen
in thread Trimming trailing double quotes
by curtisb
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |