Thread: [Solved] Find and Replace
View Single Post
 
Old 08-11-2011, 04:47 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

Hi xavier,

You can solve this with a wildcard Find/Replace, where:
Find = (HYPERLINK "mailto:[!\@]{1,}\@[a-z]{1,}.)(COM)
Replace = \1com
and, before executing the Find/Replace you toggle the field code display 'on' via Alt-F9. Toggle it 'off' via Alt-F9 again afterwards.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote