![]() |
|
#1
|
||||
|
||||
![]()
Try using:
"<([0-9]{1,2})(/)([0-9]{1,2})(/)([0-9]{2})>" The < and > characters tell Word the found characters must start and end a word, respectively. If you want to include both 2-digit and 4-digit years, use: "<([0-9]{1,2})(/)([0-9]{1,2})(/)([0-9]{2,4})>"
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
Tags |
date, regex, search and replace |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
laucn | Excel Programming | 14 | 05-17-2015 12:12 PM |
![]() |
sala-marie | Excel | 3 | 10-27-2013 09:32 PM |
![]() |
Liuneddu | Word | 1 | 08-13-2013 03:57 AM |
![]() |
nmo111 | Outlook | 1 | 05-28-2010 11:00 AM |
Dividing merge cell into ten equal rectangles for inputing Digit? | aligahk06 | Excel | 0 | 05-12-2010 06:56 AM |