2 Replies Latest reply on Nov 3, 2015 9:53 AM by michaelc21120480

    Grep find and replace help

    michaelc21120480

      Ok I have a document that has some inconsistent prices in descriptions of cars.

      For example some prices do not have a $ in from on them.

      Also some of the preceding  sentences do not end on a period and all the descriptions need to punctuate the same.

       

      So I need to search for a space 2 digits and a , and replace it with a . space $(whatever 2 digits where found and the comma)

       

      My grep search looks like this

      \d\d,

       

      How do I replace the \d\d with what ever was found.

      For example

       

      TV, DVD, tons of cabinet space, washer/dryer combo #61F01620 19,995.

      Needs to look like this

       

      TV, DVD, tons of cabinet space, washer/dryer combo #61F01620. $19,995.

      thanks