Find and Replace (?)

K

Kerns

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.
 
P

Pesach Shelnitz

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.
 
K

Kerns

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top