#1   Report Post  
Posted to microsoft.public.word.docmanagement
Kerns Kerns is offline
external usenet poster
 
Posts: 4
Default Find and Replace (?)

I'm actually trying to find and INSERT but I'm not sure how to do it.

For example, I want to find all of the numbers in my document and place a
"$" in front of them.

I am finding them using: ^w^#

but when I replace with: $

it overwrites the first digit.

How do I go about finding and INSERTING?

Thanks.

  #2   Report Post  
Posted to microsoft.public.word.docmanagement
Pesach Shelnitz[_2_] Pesach Shelnitz[_2_] is offline
external usenet poster
 
Posts: 277
Default Find and Replace (?)

Hi,

You can do this with a wildcard search as follows.
1) Press Ctrl+H to open the Find and Replace dialog box.
2) Click More and then select the Use wildcards check box.
3) In the Find what text box, type [0-9]@
4) In the Replace with text box, type $^&
5) Click Find Next and then Replace, or click Replace All.

When you are finished using wildcards, clear the Use wildcards check box and
perform another search to disable wildcards.

For more information on advanced search techniques, see my Web page at
http://www.makeofficework.com/searching.htm.

--
Hope this helps,
Pesach Shelnitz
My Web site: http://makeofficework.com


"Kerns" wrote:

I'm actually trying to find and INSERT but I'm not sure how to do it.

For example, I want to find all of the numbers in my document and place a
"$" in front of them.

I am finding them using: ^w^#

but when I replace with: $

it overwrites the first digit.

How do I go about finding and INSERTING?

Thanks.

  #3   Report Post  
Posted to microsoft.public.word.docmanagement
Pesach Shelnitz[_2_] Pesach Shelnitz[_2_] is offline
external usenet poster
 
Posts: 277
Default Find and Replace (?)

Hi,

You can do this with a wildcard search as follows.
1) Press Ctrl+H to open the Find and Replace dialog box.
2) Click More and then select the Use wildcards check box.
3) In the Find what text box, type [0-9]@
4) In the Replace with text box, type $^&
5) Click Find Next and then Replace, or click Replace All.

When you are finished using wildcards, clear the Use wildcards check box and
perform another search to disable wildcards.

For more information on advanced search techniques, see my Web page at
http://www.makeofficework.com/searching.htm.

--
Hope this helps,
Pesach Shelnitz
My Web site: http://makeofficework.com


"Kerns" wrote:

I'm actually trying to find and INSERT but I'm not sure how to do it.

For example, I want to find all of the numbers in my document and place a
"$" in front of them.

I am finding them using: ^w^#

but when I replace with: $

it overwrites the first digit.

How do I go about finding and INSERTING?

Thanks.

  #4   Report Post  
Posted to microsoft.public.word.docmanagement
Kerns Kerns is offline
external usenet poster
 
Posts: 4
Default Find and Replace (?)

Thank you for the great information.

Would there happen to be a method to search for a consecutive 'string' of
numbers and place the $ before that string.

In other words, find 12,444.99 and insert a $ before that 'string'. Using
the method that you described puts a $ at: $12,$444.$99.

thanks again,
Kerns
  #5   Report Post  
Posted to microsoft.public.word.docmanagement
Kerns Kerns is offline
external usenet poster
 
Posts: 4
Default Find and Replace (?)

Thank you for the great information.

Would there happen to be a method to search for a consecutive 'string' of
numbers and place the $ before that string.

In other words, find 12,444.99 and insert a $ before that 'string'. Using
the method that you described puts a $ at: $12,$444.$99.

thanks again,
Kerns


  #6   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Find and Replace (?)

Search for
([0-9,.]{4,})
replace with
$\1

with the wildcard option set
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



"Kerns" wrote in message
...
Thank you for the great information.

Would there happen to be a method to search for a consecutive 'string' of
numbers and place the $ before that string.

In other words, find 12,444.99 and insert a $ before that 'string'. Using
the method that you described puts a $ at: $12,$444.$99.

thanks again,
Kerns



  #7   Report Post  
Posted to microsoft.public.word.docmanagement
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default Find and Replace (?)

Search for
([0-9,.]{4,})
replace with
$\1

with the wildcard option set
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



"Kerns" wrote in message
...
Thank you for the great information.

Would there happen to be a method to search for a consecutive 'string' of
numbers and place the $ before that string.

In other words, find 12,444.99 and insert a $ before that 'string'. Using
the method that you described puts a $ at: $12,$444.$99.

thanks again,
Kerns



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
Find+Replace Dialog Box, Replace with Format problem Kathy Microsoft Word Help 3 February 1st 08 04:26 AM
Find multiple characters in one find using MSword find/replace Cliff Microsoft Word Help 2 October 29th 06 07:48 PM
Trying to replace words with fields using Find/Replace mbleyle Microsoft Word Help 2 March 29th 06 11:35 PM
Using find and replace or macros to replace page ranges JeremyC Microsoft Word Help 7 February 13th 06 09:20 PM
Find/ Replace is auto-capping the words I want to replace with Graham Mayor Microsoft Word Help 8 January 27th 06 01:39 AM


All times are GMT +1. The time now is 10:20 AM.

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"