Prev: Formating issue
Next: Visible underlined underscores
From: Kerns on 24 Mar 2010 15:15 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.
From: Pesach Shelnitz on 24 Mar 2010 16:11 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. >
From: Kerns on 25 Mar 2010 10:07 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
From: Graham Mayor on 25 Mar 2010 10:52 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" <Kerns(a)discussions.microsoft.com> wrote in message news:373DBDAC-7B6C-42EB-8B9F-4B7F503A894E(a)microsoft.com... > 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
|
Pages: 1 Prev: Formating issue Next: Visible underlined underscores |