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

Détecter une plage de nombres

Community Beginner ,
Jul 13, 2018 Jul 13, 2018

Copy link to clipboard

Copied

Bonjour à tous,

Est-il possible de détecter avec une expression GREP (ou à défaut un script) un plage de nombres pour lui appliquer un style ?

À titre d'exemple, les nombres compris entre 22 et 147 (ou toute autre plage)...

P.S.: très novice dans ce domaine...

Merci d'avance pour votre aide 😉

Views

424

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 , Jul 15, 2018 Jul 15, 2018

The first query match 22-29
The second 30-99
The third 100-139

The last one 140-147

Votes

Translate

Translate
Community Expert ,
Jul 13, 2018 Jul 13, 2018

Copy link to clipboard

Copied

Please post the name of the program you use so a Moderator may move this message to that forum

-A program would be Photoshop or Dreamweaver or Muse or Premiere Pro or ???

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 ,
Jul 14, 2018 Jul 14, 2018

Copy link to clipboard

Copied

Sorry, I put the name of the program in the tags. And I can not re-write the message.
This is Indesign ...

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 ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

John, for range of number you need to use multiple request and group them with word boundaries.

for 22-147 you can use this:

\b(2[2-9]|[3-9]\d|1[0-3]\d|14[0-7])\b

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 ,
Jul 15, 2018 Jul 15, 2018

Copy link to clipboard

Copied

The first query match 22-29
The second 30-99
The third 100-139

The last one 140-147

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 ,
Jul 18, 2018 Jul 18, 2018

Copy link to clipboard

Copied

LATEST

Thank you Jean Claude,

It works perfectly!

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