Change Date Format 10/26/09 to 26/10/2009

M

marcia

I have several large documents that need the date format changed from10/26/09
to 26/10/2009. All the dates are different and are not field entries but
typed text.

Is there an easy way to change them throughout the documents?
 
J

Jay Freedman

marcia said:
I have several large documents that need the date format changed
from10/26/09 to 26/10/2009. All the dates are different and are not
field entries but typed text.

Is there an easy way to change them throughout the documents?

Use a wildcard replacement (see
http://www.gmayor.com/replace_using_wildcards.htm).

First click the More button and check the "Use wildcards" option. Enter the
Find What expression

([0-9]{1,2}/)([0-9]{1,2}/)([0-9]{4})

and the Replace With expression

\2\1\3

and click the Replace All button.

--
Regards,
Jay Freedman
Microsoft Word MVP
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top