Re: Replacing characters in a line
by
pelagic
on
Mar 04, 2005 at 11:49 UTC
(
replies
)
http://www.perlmonks.org?node_id=436538
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
In Section
Seekers of Perl Wisdom