Thread: [Solved] Find and Replace: Dates
View Single Post
 
Old 04-12-2011, 03:30 PM
macropod's Avatar
macropod macropod is offline Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,341
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 Britta,

You can do this with a wildcard Find/Replace, where:
Fine = [0-9]{1,2}[-/][0-9]{1,2}[-/][0-9]{2,4}
Replace = ^&
and the replacement font is formatted as bold.

The above Find expression will find any 1-2 digit number, followed by a '/' or '-', followed by another 1-2 digit number, followed by a '/' or '-', followed by a 2-4 digit number.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote