View Single Post
 
Old 11-14-2016, 02:38 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,375
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

You can use RegEx in Word, but only via a macro that calls a RegEx library. Word's wildcard options are akin to a sub-set of RegEx but even that sub-set doesn't have a 1:1 correspondence with RegEx.

As for what you're trying to do, you could use a wildcard Find/Replace, where:
Find = (HYPERLINK *\\l )*([!/]@")
Replace = \1^34NewFolder/\2
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote