in reply to Trimming trailing double quotes
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Trimming trailing double quotes
by perlsen (Chaplain) on Jan 06, 2005 at 07:35 UTC |