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 / December 2003

Tip: Looking for answers? Try searching our database.

Search & Replace Pattern Matching

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jason - 18 Dec 2003 04:32 GMT
I would like to search and replace a single quote (') that
occurs on every line of my document. How do I pattern
match that? I tried "^'" (without the double quotes) in
the Search field...but, it finds nothing!?!?! Thanks in
advance!!!
SA - 18 Dec 2003 04:50 GMT
> I would like to search and replace a single quote (') that
> occurs on every line of my document. How do I pattern
> match that? I tried "^'" (without the double quotes) in
> the Search field...but, it finds nothing!?!?! Thanks in
> advance!!!

Hello. Try the find box and right your "'" and in the replace box, right
nothing. Good luck and happy holidays.
Graham Mayor - 18 Dec 2003 07:29 GMT
See http://www.mvps.org/word/FAQs/General/UsingWildcards.htm
Note that it will be all too simple to remove wanted single quotes as well
as the unwanted ones, if you are not clear with your search pattern.  I
would need more information about this single quote and where it occurs to
give you a more definite answer.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
    Graham Mayor -  Word MVP
      E-mail gmayor@mvps.org
  Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> I would like to search and replace a single quote (') that
> occurs on every line of my document. How do I pattern
> match that? I tried "^'" (without the double quotes) in
> the Search field...but, it finds nothing!?!?! Thanks in
> advance!!!
Jason - 18 Dec 2003 13:22 GMT
I'm sorry, I wrote this when it was late at night and I
didn't specify this too clear. I want to replace a single
quote that occurs at the BEGINNING of every line. I
tried "^'", but I couldn't get it to work. Thanks
again...sorry for the confusion.

>-----Original Message-----
>See http://www.mvps.org/word/FAQs/General/UsingWildcards.htm
[quoted text clipped - 10 lines]
>
>.
Kate G. - 18 Dec 2003 14:14 GMT
Highlight the desired character;  copy it;  open your Find/Replace Window --
use the CONTROL + V option to paste the character to the Find location.
Enter what you wish to replace it with (or leave bland for nothing) in the
Replace location....

That should do the trick!

Kate in MN

> I'm sorry, I wrote this when it was late at night and I
> didn't specify this too clear. I want to replace a single
[quoted text clipped - 21 lines]
> >
> >.
Suzanne S. Barnhill - 18 Dec 2003 14:17 GMT
Try searching for:

   ^p'

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


> I'm sorry, I wrote this when it was late at night and I
> didn't specify this too clear. I want to replace a single
[quoted text clipped - 29 lines]
> >
> >.
Graham Mayor - 18 Dec 2003 16:24 GMT
See Suzanne's reply which will find all but the one on the first line - and
note this is not a wildcard search.

Signature

<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>
    Graham Mayor -  Word MVP
      E-mail gmayor@mvps.org
  Web site www.gmayor.com
 Word MVP web site www.mvps.org/word
<>>< ><<> ><<> <>>< ><<> <>>< <>>< ><<>

> I'm sorry, I wrote this when it was late at night and I
> didn't specify this too clear. I want to replace a single
[quoted text clipped - 25 lines]
>>
>> .
TF - 18 Dec 2003 22:54 GMT
Jason

Maybe you are looking at this the wrong way. Did you know that if you hold
down the ALT key, you can make in vertical selection of a document?

For your example, place the cursor at the top most point in the margin where
the first ' mark occurs. Hold down the ALT key and drag the cursor across
one ' and then down to the final '. You should no have a vertical selection
of all the ' characters, so now press delete.

Signature

Terry Farrell - Word MVP
http://www.mvps.org/word/

I'm sorry, I wrote this when it was late at night and I
didn't specify this too clear. I want to replace a single
quote that occurs at the BEGINNING of every line. I
tried "^'", but I couldn't get it to work. Thanks
again...sorry for the confusion.

>-----Original Message-----
>See
http://www.mvps.org/word/FAQs/General/UsingWildcards.htm
>Note that it will be all too simple to remove wanted
single quotes as well
>as the unwanted ones, if you are not clear with your
search pattern.  I
>would need more information about this single quote and
where it occurs to
>give you a more definite answer.
>
>> I would like to search and replace a single quote (')
that
>> occurs on every line of my document. How do I pattern
>> match that? I tried "^'" (without the double quotes) in
>> the Search field...but, it finds nothing!?!?! Thanks in
>> advance!!!
>
>.
Jason - 19 Dec 2003 02:24 GMT
I actually want to replace all the ' with some other text.
I tried using Suzanne's suggestion, but it removes all the
paragraphs as well. Is there a way to use her search and
only replace the ' and not the entire ^p'??
Thanks all.

>-----Original Message-----
>Jason
[quoted text clipped - 34 lines]
>
>.
Suzanne S. Barnhill - 19 Dec 2003 05:05 GMT
I should have said, search for ^p' and replace with ^p.

--
Suzanne S. Barnhill
Microsoft MVP (Word)
Signature

Words into Type
Fairhope, Alabama USA
Word MVP FAQ site: http://www.mvps.org/word
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


> I actually want to replace all the ' with some other text.
> I tried using Suzanne's suggestion, but it removes all the
[quoted text clipped - 58 lines]
> >
> >.
 
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.