View Single Post
  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Big John Big John is offline
external usenet poster
 
Posts: 9
Default How do I add brackets to multiple words in a WORD document?

Figured out the problem. The text I am working with is a bunch of keywords
copied & pasted from Google AdWords Keyword Tool. I re-pasted them as
unformatted text & then of course was able to successfully implement your
recommended find & replace solution for enclosing all of the keywords in
brackets (the HTML code must have been the culprit). I have been manually
enclosing keywords in brackets for months. Every time I searched for a find &
replace solution, I was unsuccessful. I really appreciate your patience &
assistance. Obviously I will be saving a lot of time that was previously
wasted - it sure isn't easy finding answers to Office power User questions.
Thanks & have a great evening.

"Jezebel" wrote:

Yes, it works for me. That replacement assumes that each line is in fact a
separate paragraph. ^p in find and replace is equivalent to ¶, so the
function replaces

blah blah¶

with

blah blah]¶
[

If it isn't working, what do you have at the end of each line? (Click the ¶
button to display formatting characters.) If you have a newline character in
place of a paragraph mark, use ^l (ell) in your find and replace codes in
place of ^p.






"Big John" wrote in message
...
No luck. After performing the recommended find & replace, nothing happens.
If
you don't mind Jezebel, please continue assisting me with this issue - I
really appreciate it. If at all possible, could you do a simple test on
your
end to see if your recommended find & replace is working for you? If it
does
indeed insert brackets around each paragraph, then please post the exact
text
you typed for the test. Also, if you could explain what the characters
mean
in your recommended find & replace, maybe I can figure out what I'm doing
wrong. Thanks again.

"Jezebel" wrote:

Specificity helps. Those are paragraphs you're bracketing, not words.
Clear
the 'Use wildcards' checkbox, then --

Find: ^p
Replace: ]^p[

Then manually insert the [ in front of the very first paragraph.


"Big John" wrote in message
...
Thanks Jezebel, but I guess I need to be more specific. Let's say I
have a
list like this (the specific words don't matter):

test
test one
test one two
test one two three
test one two three four
test one two three four five
test

and I want the list to look like this:

[test]
[test one]
[test one two]
[test one two three]
[test one two three four]
[test one two three four five]
[test]

How do I do this? Keep in mind that I have a list of over 300 phrases
ranging from 1 to 5 words in length. Your help is greatly appreciated.

"Jezebel" wrote:

With 'Use wildcards' checked --

Find: (*)
Replace: (\1)


"Big John" Big wrote in message
...
How do I add brackets to multiple words in a WORD document? For
example,
if I
have 300 words in a WORD 2000 document & I want to enclose all of
them
in
brackets, how do I do this?