How can I remove the two decimal zeroes in auto-substitution from EN to FR? Example: Rates are $30.00. The substitution in French gives me 30,00 $. But the two zeroes at the end are a mistake. How can I get rid of them?
You are currently working on UAT
How can I remove the two decimal zeroes in auto-substitution from EN to FR? Example: Rates are $30.00. The substitution in French gives me 30,00 $. But the two zeroes at the end are a mistake. How can I get rid of them?
Hi Evelyne Ridyard
Just run a search and replace using regular expressions by checking the box for regular expressions in the replace dialogue. Based on this one example you would do this:
Search for:
(\d+),00\s\$
Replace with:
$1 $
So that would convert 30,00 $ to 30 $. Is that what you wanted?
It would be a good idea to provide more examples though. This pattern replace is fairly safe as long as the format would be something like this in the target:
123,00 $
1.234,00 $
1.234.567.890,00 $
It will only replace the end part but leave all the numbers. But it would be good to see more examples to be sure.
Paul Filkin | RWS
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub
Hi Evelyne Ridyard
Just run a search and replace using regular expressions by checking the box for regular expressions in the replace dialogue. Based on this one example you would do this:
Search for:
(\d+),00\s\$
Replace with:
$1 $
So that would convert 30,00 $ to 30 $. Is that what you wanted?
It would be a good idea to provide more examples though. This pattern replace is fairly safe as long as the format would be something like this in the target:
123,00 $
1.234,00 $
1.234.567.890,00 $
It will only replace the end part but leave all the numbers. But it would be good to see more examples to be sure.
Paul Filkin | RWS
Design your own training!
You've done the courses and still need to go a little further, or still not clear?
Tell us what you need in our Community Solutions Hub