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 / Programming / March 2005

Tip: Looking for answers? Try searching our database.

finding a ' followed by a space followed by a capital?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
and - 01 Mar 2005 14:02 GMT
Hi, Does anyone know how one finds this sequence: "' " followed by a
capital in Word?

I want to replace it by the same sequence, but the space will be changed
for a placeholder (like ÿ).

So "' B" becomes "'ÿB".

Any ideas?

Best,
ANDy
Greg - 01 Mar 2005 14:10 GMT
ANDy,

(') ([A-Z])

and Relpace with
\1ÿ\2
and - 01 Mar 2005 14:20 GMT
Thanks a bunch, Greg.

-------- Original Message --------

> ANDy,
>
> (') ([A-Z])
>
> and Relpace with
> \1ÿ\2
John Doue - 01 Mar 2005 16:08 GMT
> ANDy,
>
> (') ([A-Z])
>
> and Relpace with
> \1ÿ\2

I worry when I neither understand the question nor the answer ... :)

Signature

John Doue

Greg - 01 Mar 2005 16:34 GMT
John,

ANDy wanted to replace any instance of
apostrophe-space-CAP letter with
apostrophe-ÿ-CAP letter.  Why I don't know.

Using Edit>Find and Replace>More>Use Wildcards.

( ) are the wildcard grouping symbols.  [  ] are the wildcard range
symbols.  In the find what field:
(') [A-Z]
means find any sequence containing a group of 1 ' and a single space
and a group of 1 capital letter that is in the range A-Z.

The replace with field:
\1ÿ\2
means replace with the content of group 1 the ÿ and the content of
group 2.  

HTH
John Doue - 02 Mar 2005 09:54 GMT
> John,
>
[quoted text clipped - 16 lines]
>
> HTH

Greg, I am very thankful for your detailed explanations.

Thanks a million

Signature

John Doue

 
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.