1

I am looking for a solution to find and replace the formatting of many prices within one of my documents.

I currently have prices that are formatting like so: $60 and would like to change the formatting to: 60 $

The following 'Find What' works to find the first format \$\d{0,2} but not too sure about what to 'Replace With'.

Is there a way to preserve the number?

Thank you.

mousesports
  • 509
  • 1
  • 6
  • 18

2 Answers2

3

Try this:

find: \$(\d{0,2})
replace: \1 $

Casimir et Hippolyte
  • 88,009
  • 5
  • 94
  • 125
1

Option+Cmd+F:

Place into the find field:

\$([0-9]{0,2})

Place into the replace field:

\1 \$

The backslash + number indicated which capture group to place in there.

obimod
  • 797
  • 10
  • 26