in reply to
Replacing characters in a line
Just use "word-boundary anchors" in your regex:
/\bD\b/
[download]
p
e
l
a
g
i
c
Comment on
Re: Replacing characters in a line
Download
Code
In Section
Seekers of Perl Wisdom