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

Switch Adjacent Word Positions

New Here ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

Is there a way of switching the position of two adjacent names (first and last names) in an InDesign name tag document with a script or some other means?

TOPICS
Scripting

Views

236

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
LEGEND ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

Hi,

Do you mean that:

(\u\l+)(\s)(\u\l+)

$3$2$1

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
Community Expert ,
Oct 21, 2015 Oct 21, 2015

Copy link to clipboard

Copied

LATEST

If your name contain hyphen, like in my name... Use this:

([-\u\l]+)(\s)([-\u\l]+)

$3$2$1

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