in reply to Word find and replace with bold
The \b sequence is used in regular expressions to find the boundary between "word characters" and "non-word characters". That's often useful to mark the beginning and end of a word.
if (/\b$some_regex\b) { ... }
But Word documents aren't plain text files. So I don't know how well plain text regexes will work.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Word find and replace with bold
by Selvakumar (Scribe) on Jul 23, 2009 at 12:18 UTC | |
by mzedeler (Pilgrim) on Jul 23, 2009 at 16:17 UTC |
In Section
Seekers of Perl Wisdom