How to Bold specific parts of text document automatically.

Hello,

I have a document that has time codes spread throughout the text. The only thing common between them is the format that is [hh:mm:ss]. The hh, mm and ss values are variable.

I need all these time codes to be bold formatted.

Replace function does a great job in formatting the same text throughout the sheet, but I can't find any function that allows me to do that for formats or masks. Like if I could somehow program it to embolden everywhere [ ] occurs and everything in between.

Was hoping if someone could help me out with it.

Thanks,
Yasir

Answer
Answer

Use a Wildcard search and replace for

[0-9]{2}:[0-9]{2}:[0-9]{2}}

Hope this helps,
Doug Robbins - MVP Office Apps & Services (Word)
dougrobbinsmvp@gmail.com
It's time to replace ‘Diversity, Equity & Inclusion’ with ‘Excellence, Opportunity & Civility’ - V Ramaswamy

Was this reply helpful?

Sorry this didn't help.

Great! Thanks for your feedback.

How satisfied are you with this reply?

Thanks for your feedback, it helps us improve the site.

How satisfied are you with this reply?

Thanks for your feedback.

 
 

Question Info


Last updated October 5, 2021 Views 171 Applies to: