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

Find and swap position of full stop/period after superior text to position before superiour text

Explorer ,
Feb 08, 2023 Feb 08, 2023

Copy link to clipboard

Copied

Screenshot 2023-02-08 at 16.27.22.pngIn my text I want the punctuation BEFORE the superiour numbers.
Like this:

Screenshot 2023-02-08 at 16.27.34.png

Sometimes its not a full stop/period but a comma.

I found this, but that didn't work:

(~F)([[:punct:]])

Who can help me?

Thanks!

 

 

TOPICS
How to , Print , Type

Views

86

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
Community Expert ,
Feb 08, 2023 Feb 08, 2023

Copy link to clipboard

Copied

LATEST

I think you need a script for this. ([\d,]+)([\.,]) and replace with $2$1 seems to reverse the characters fine, but the superscript formatting remains in the same position so it gets applied to the puncutation and is lost from the final digit -- not what you want.

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