Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-12-2011, 10:28 AM
Attirb Attirb is offline Find and Replace: Dates Windows XP Find and Replace: Dates Office 2007
Novice
Find and Replace: Dates
 
Join Date: Apr 2011
Posts: 2
Attirb is on a distinguished road
Default Find and Replace: Dates

Hi,
I am interning at a Law Firm and have been asked to digitally archive a very long list of files from an online database. The short of it is they are a record of all disciplinary actions within the various administrative boards in Pennsylvania. Each archive for a licensed proffession is listed under County name and has an attatched date at the end of each listing. What I am trying to do is figure out how to use find and replace to apply Bold formatting to all of these dates without having to go through and do it manually, but I cannot, through my limited knowledge of programming language determine what I would need to "find" within the documents. The dates appear in two formats (##-##-##) and (##/##/##). If this can indeed be done I would be very glad to learn!
Thanks
Britta
Reply With Quote
  #2  
Old 04-12-2011, 03:30 PM
macropod's Avatar
macropod macropod is offline Find and Replace: Dates Windows 7 32bit Find and Replace: Dates Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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
  #3  
Old 04-13-2011, 09:56 AM
Attirb Attirb is offline Find and Replace: Dates Windows XP Find and Replace: Dates Office 2007
Novice
Find and Replace: Dates
 
Join Date: Apr 2011
Posts: 2
Attirb is on a distinguished road
Smile thanks

Works like a charm!
Appreciated.

Thanks a bunch!
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Find and Replace: Dates Help with find and replace or query and replace shabbaranks Excel 4 03-19-2011 08:38 AM
Find and Replace: Dates Find/Replace problems MommyO Word 1 03-09-2011 05:47 PM
find and replace anil3b2 Word 0 08-03-2010 11:30 PM
help with find and replace sjkiss Word 1 04-12-2010 08:08 AM
Find /Replace Help ilcaa Word 2 11-02-2009 08:41 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 07:08 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft