Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Long Documents / November 2004

Tip: Looking for answers? Try searching our database.

replacing all occurances of <any number><dot> with <dot><same number>

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
venu - 04 Nov 2004 22:19 GMT
Hello friends,

I encountered a small problem when working on one of my documents. I
had earlier used the formatting style of <any number><dot> in my
document. Now i need to replace them with <dot><same number>.
eg: 16. to be replaced by .16
The problem is that the number could be any number, just that the dot
should now appear before that number. I have hundreds of such
occurances and it would take me a couple of hours if not more, to
replace each of them individually. Could someone suggest a better way
of doing it globally?

Thanks in advance
Venu
Greg Maxey - 04 Nov 2004 22:58 GMT
Venu,

You could try Edit>Replace>More>Use Wildcards, type:

([0-9]{1,}).   in the find what field

and
.\1   in the replace with field.

See:  http://www.gmayor.com/replace_using_wildcards.htm

Signature

Greg Maxey/Word MVP
A Peer in Peer to Peer Support

> Hello friends,
>
[quoted text clipped - 10 lines]
> Thanks in advance
> Venu
Jay Freedman - 04 Nov 2004 23:03 GMT
Hi Venu,

Open the Replace dialog, click the More button, and check the box for "Use
wildcards".

Copy the expression from the next line of this message and paste it (with
Ctrl+V) into the Find What box:
  ([0-9]@).
Put the next expression in the Replace With box:
  .\1
Click the Replace All button.

For more information, see
http://word.mvps.org/FAQs/General/UsingWildcards.htm.

Signature

Regards,
Jay Freedman
Microsoft Word MVP          FAQ: http://word.mvps.org

> Hello friends,
>
[quoted text clipped - 10 lines]
> Thanks in advance
> Venu
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.