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 / General MS Word Questions / March 2008

Tip: Looking for answers? Try searching our database.

Find and Replace

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Island Girl - 25 Mar 2008 23:58 GMT
Suppose I have a 90 page document crammed full of the following number
patterns:  11R1962-72.  I need to put these numbers in parentheses wherever
they appear in the document.  You've taught me so far how to do that
successfully--and I thank you!

But some of the numbers have a period after the R (i.e., 11R.1962-72).  How
do I find either of these patterns in one find-and-replace action?

I guess the simplest thing would be to find and remove the period, but
that's too easy!

Thanks more than I can say.  This group offers the very best education in
Word that I've ever come across.  And I thank you!
Tony Jollans - 26 Mar 2008 15:34 GMT
Word does not have a code for (zero or more) or (zero or one) occurrences of
a character so you have to work round this a little. What pattern are you
using at the moment?

If you look for (up to R) (dot or digit) (3 or 4 digits) (hyphen and on) you
should find your numbers with  the dot, and those without, but also any with
a dot and only three digits - if this is problematic, there's probably
another way if you give a bit more detail of the strings (or a pointer to
earlier threads)

Signature

Enjoy,
Tony

> Suppose I have a 90 page document crammed full of the following number
> patterns:  11R1962-72.  I need to put these numbers in parentheses
[quoted text clipped - 11 lines]
> Thanks more than I can say.  This group offers the very best education in
> Word that I've ever come across.  And I thank you!
Island Girl - 27 Mar 2008 01:31 GMT
Thanks again, Tony, for all of your great help.  I hope it will one day be
possible to use "0 or more" occurrences of a character.  Until then, I'll get
by with a little help from you and your group!

> Word does not have a code for (zero or more) or (zero or one) occurrences of
> a character so you have to work round this a little. What pattern are you
[quoted text clipped - 21 lines]
> > Thanks more than I can say.  This group offers the very best education in
> > Word that I've ever come across.  And I thank you!
 
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.