Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.newusers
Bogey Man Bogey Man is offline
external usenet poster
 
Posts: 19
Default Search and Replace within a table

I am using Word 2000 and would like to be able to do a search for a colon
followed by a space (: ) and delete the colon followed by a space, and
everything that follows to the end of the sell.

Any help would be appreciated.

  #2   Report Post  
Posted to microsoft.public.word.newusers
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default Search and Replace within a table

You can use:
\: [+0-9A-z&./,)({}; €“_-]{1,}
in the Find field, turn "use Wildcards" on under the More button.
This will find all text after a ": " upto a Paragraph Mark. So if you have
separate paragraphes in the cell, the remaining text will not be found. The
code for Paragraph Mark cannot be used when in Wildcards mode. Also if it was
you would find the whole document after the first occurance of ": " ;-)

Hope this helps
DeanH

"Bogey Man" wrote:

I am using Word 2000 and would like to be able to do a search for a colon
followed by a space (: ) and delete the colon followed by a space, and
everything that follows to the end of the sell.

Any help would be appreciated.


  #3   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Search and Replace within a table

^13 can be used in the wildcard mode to find a paragraph break
See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



DeanH wrote:
You can use:
\: [+0-9A-z&./,)({}; -_-]{1,}
in the Find field, turn "use Wildcards" on under the More button.
This will find all text after a ": " upto a Paragraph Mark. So if you
have separate paragraphes in the cell, the remaining text will not be
found. The code for Paragraph Mark cannot be used when in Wildcards
mode. Also if it was you would find the whole document after the
first occurance of ": " ;-)

Hope this helps
DeanH

"Bogey Man" wrote:

I am using Word 2000 and would like to be able to do a search for a
colon followed by a space (: ) and delete the colon followed by a
space, and everything that follows to the end of the sell.

Any help would be appreciated.



  #4   Report Post  
Posted to microsoft.public.word.newusers
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default Search and Replace within a table

Very true Graham, but what I meant was that it does not want to work within
the variables listing. Do you know of a code that means "all characters upto
end of line/paragraph"?
DeanH

"Graham Mayor" wrote:

^13 can be used in the wildcard mode to find a paragraph break
See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



DeanH wrote:
You can use:
\: [+0-9A-z&./,)({}; -_-]{1,}
in the Find field, turn "use Wildcards" on under the More button.
This will find all text after a ": " upto a Paragraph Mark. So if you
have separate paragraphes in the cell, the remaining text will not be
found. The code for Paragraph Mark cannot be used when in Wildcards
mode. Also if it was you would find the whole document after the
first occurance of ": " ;-)

Hope this helps
DeanH

"Bogey Man" wrote:

I am using Word 2000 and would like to be able to do a search for a
colon followed by a space (: ) and delete the colon followed by a
space, and everything that follows to the end of the sell.

Any help would be appreciated.




  #5   Report Post  
Posted to microsoft.public.word.newusers
DeanH DeanH is offline
external usenet poster
 
Posts: 1,862
Default Search and Replace within a table

Or even upto End of Cell. Why is there no search code for the End of Table
Cell character?

"DeanH" wrote:

Very true Graham, but what I meant was that it does not want to work within
the variables listing. Do you know of a code that means "all characters upto
end of line/paragraph"?
DeanH

"Graham Mayor" wrote:

^13 can be used in the wildcard mode to find a paragraph break
See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



DeanH wrote:
You can use:
\: [+0-9A-z&./,)({}; -_-]{1,}
in the Find field, turn "use Wildcards" on under the More button.
This will find all text after a ": " upto a Paragraph Mark. So if you
have separate paragraphes in the cell, the remaining text will not be
found. The code for Paragraph Mark cannot be used when in Wildcards
mode. Also if it was you would find the whole document after the
first occurance of ": " ;-)

Hope this helps
DeanH

"Bogey Man" wrote:

I am using Word 2000 and would like to be able to do a search for a
colon followed by a space (: ) and delete the colon followed by a
space, and everything that follows to the end of the sell.

Any help would be appreciated.






  #6   Report Post  
Posted to microsoft.public.word.newusers
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Search and Replace within a table

You cannot search for the end of cell character, what I was implying was
that you could insert ^13 to find paragraph breaks within a cell. There was
nothing wrong with your approach (though it could be simplified) eg

(*): [^13^32-^255]{1,}
replace with
\1
will find most stuff that is likely to be there.

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



DeanH wrote:
Or even upto End of Cell. Why is there no search code for the End of
Table Cell character?

"DeanH" wrote:

Very true Graham, but what I meant was that it does not want to work
within the variables listing. Do you know of a code that means "all
characters upto end of line/paragraph"?
DeanH

"Graham Mayor" wrote:

^13 can be used in the wildcard mode to find a paragraph break
See http://www.gmayor.com/replace_using_wildcards.htm

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org



DeanH wrote:
You can use:
\: [+0-9A-z&./,)({}; -_-]{1,}
in the Find field, turn "use Wildcards" on under the More button.
This will find all text after a ": " upto a Paragraph Mark. So if
you have separate paragraphes in the cell, the remaining text will
not be found. The code for Paragraph Mark cannot be used when in
Wildcards mode. Also if it was you would find the whole document
after the first occurance of ": " ;-)

Hope this helps
DeanH

"Bogey Man" wrote:

I am using Word 2000 and would like to be able to do a search for
a colon followed by a space (: ) and delete the colon followed by
a space, and everything that follows to the end of the sell.

Any help would be appreciated.



  #7   Report Post  
Posted to microsoft.public.word.newusers
Bogey Man Bogey Man is offline
external usenet poster
 
Posts: 19
Default Search and Replace within a table

Thank you very much. That works like a charm on the test data that I have.
This will certainly save me a lot of work.

Ron


"DeanH" wrote in message
...
You can use:
\: [+0-9A-z&./,)({}; €“_-]{1,}
in the Find field, turn "use Wildcards" on under the More button.
This will find all text after a ": " upto a Paragraph Mark. So if you have
separate paragraphes in the cell, the remaining text will not be found.
The
code for Paragraph Mark cannot be used when in Wildcards mode. Also if it
was
you would find the whole document after the first occurance of ": " ;-)

Hope this helps
DeanH

"Bogey Man" wrote:

I am using Word 2000 and would like to be able to do a search for a colon
followed by a space (: ) and delete the colon followed by a space, and
everything that follows to the end of the sell.

Any help would be appreciated.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Search and replace - how to Benjamin Barrett Microsoft Word Help 6 December 30th 07 01:05 AM
Search and replace blank cells with "N/A" within a Word Table [email protected] Tables 1 February 16th 07 10:51 PM
Search and replace jldube Microsoft Word Help 5 May 5th 06 03:45 PM
search and replace Tweedy Microsoft Word Help 1 February 10th 05 11:30 AM
MAKRO Help needed: Search & Replace from Top to start of Table Frank Microsoft Word Help 1 December 10th 04 05:49 PM


All times are GMT +1. The time now is 03:21 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"