Skip to main content
Participant
September 17, 2012
Question

I need with a Find/replace script code to remove prices

  • September 17, 2012
  • 2 replies
  • 1788 views

I need to know what code i can use to completely remove all the prices in a catalog (they're at the end of a line, so the format is ", 12,90€"). Using the find/replace function seems to be the best?

I tried inserting a string of wildcards but nothing I tried seemed to work...

Thank you very much!

This topic has been closed for replies.

2 replies

Participant
March 29, 2016

Great help and the first time I have had to use GREP,

I needed a script that would remove all the EURO pricing from a brochure that is priced in Euro and GBP.

My Version goes like this.

€\d{1,3}.\d{2}

Euro Symbol + 1-3 Digits + Fullstop + 2 Digits.


Use Find Replace on GREP and it took 5 minutes to delete the Pricing.


€46.95 - I wanted to simply remove all the EURO Pricing.


making a wee comment here to remind me

Thanks to original poster

Kasyan Servetsky
Legend
September 17, 2012

Given this example,

you can do it like so:

Which means find comma + space + one/two/three digits + comma + two digits + euro sign at the end of line and replace it with nothing (leave "Change to" field empty).

Participant
September 17, 2012

Yeah! Great, thanks!