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

Grep to select a sentence over 23 characters

Community Beginner ,
Feb 02, 2017 Feb 02, 2017

Copy link to clipboard

Copied

Have been using data merge to produce some labels, with one name on each label. The items names are different lengths for example:

draw

chest of draws

large chest of drawers

Basically there is not enough space for over 20 characters (including spaces) so I would like to be able to choose these and adjust them with kerning or tracking.

Can anyone suggest what the grep would be to achieve this?

Thanks

TOPICS
Scripting

Views

307

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

People's Champ , Feb 02, 2017 Feb 02, 2017

To find 20 or more characters, would this not work?

.{20,}

Ariel

Votes

Translate

Translate
People's Champ ,
Feb 02, 2017 Feb 02, 2017

Copy link to clipboard

Copied

To find 20 or more characters, would this not work?

.{20,}

Ariel

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
Guru ,
Feb 02, 2017 Feb 02, 2017

Copy link to clipboard

Copied

It might be .{23,} 😉

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 Beginner ,
Feb 03, 2017 Feb 03, 2017

Copy link to clipboard

Copied

LATEST

Thanks for your help. That works brilliantly. Very new to grep but can see it could be really useful.

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