2

I want to find all bolded words and replace them with the same word, unbolded, but with a symbol after it indicating that it was bolded.

So for example

Yesterday, love was such an easy game to play.

Would become something like:

Yesterday, love(b) was such(b) an easy game to play(b).

I know how to find all bolded words, but I'm having trouble replacing it with the same word.

2 Answers 2

4

1

[Had to insert some text to meet the minimum requirements, although none was required.]

0

Need use Microsoft VBScript Regular Expressions 5.5 and regular expression.

See:

MSWord macro: search and highlight formatted text patterns

Search for a special number vb.net

4
  • "Need use Microsoft VBScript Regular Expressions 5.5 and regular expression." - Absolutely no need!
    – Karan
    May 19, 2013 at 22:37
  • @Karan Well, you're back faster and more accurately, most likely it's a tradition, I still think) I feel closer to the mass script based way)).
    – STTR
    May 19, 2013 at 22:39
  • 1
    I love the challenge of crafting a good script any day, but why waste precious time and effort when it's not required, right? :)
    – Karan
    May 19, 2013 at 22:40
  • @Karan Ok, for this is optional).
    – STTR
    May 19, 2013 at 22:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .