• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

GREP last 3 numbers superscript

New Here ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

Hi,

Can someone please help me?  I am creating a data merge file and I want to make sure my template is perfect before merging. The file I am creating has prices on it. the 'main numbers' need to have a normal case, but the numbers behind the comma + € sign need to be in superscript. Is it possible to make a GREP Style where this happens automatically? 

So 23.99€ --> 2399€  (but then superscript) or 5.99€ --> 599€  (but then superscript) or 150.99€ --> 15099€  (but then superscript) 

 

Hope someone can help!

 

Thanks.

 

TOPICS
How to

Views

176

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 01, 2022 Apr 01, 2022

Do you need to remove the dot?

 

Create 2 character styles: one will be defined as superscript for the digits and the € symbol and one as “invisible” (no color and 0.1pt) for the dots.

Capture d’écran 2022-04-01 à 17.15.00.jpg

Votes

Translate

Translate
Community Expert ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

Do you need to remove the dot?

 

Create 2 character styles: one will be defined as superscript for the digits and the € symbol and one as “invisible” (no color and 0.1pt) for the dots.

Capture d’écran 2022-04-01 à 17.15.00.jpg

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Apr 01, 2022 Apr 01, 2022

Copy link to clipboard

Copied

LATEST

Wow, this works like a charm. thank you!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines