Thread: [Solved] Split sentence at bold word
View Single Post
 
Old 08-17-2018, 06:41 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

It's not apparent from your example that one needs to test the bold attribute. Provided the acronyms consist of two or more capitals, a wildcard Find/Replace should suffice, where:
Find = [ ^s^t](<[A-Z]{2,})
Replace = ^p\1
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote