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

I am stumped by grep (again...)

Explorer ,
Jan 28, 2023 Jan 28, 2023

Copy link to clipboard

Copied

I have tried a few variations, but this is not working.

[\h{\dvxi}+\]    I am trying to find numbers {ddd} in curly brackets up to 3...

can someone please help...

TOPICS
How to , Scripting

Views

193

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 , Jan 28, 2023 Jan 28, 2023

Up to three numbers in curly brackets would be: \{\d{1,3}\}

 

But you have roman numerals in your query. Are you trying to find three roman numerals in curlies? 

Votes

Translate

Translate
Community Expert ,
Jan 28, 2023 Jan 28, 2023

Copy link to clipboard

Copied

Up to three numbers in curly brackets would be: \{\d{1,3}\}

 

But you have roman numerals in your query. Are you trying to find three roman numerals in curlies? 

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
Explorer ,
Jan 29, 2023 Jan 29, 2023

Copy link to clipboard

Copied

No roman numerals; this worked for you so much!

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 ,
Jan 28, 2023 Jan 28, 2023

Copy link to clipboard

Copied

I notice you tagged "Scripting", If you are writing a script, are you using Indesign's findGrep, or ExtendScript's RegExp? They are a bit different. - Mark

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
Explorer ,
Jan 29, 2023 Jan 29, 2023

Copy link to clipboard

Copied

LATEST

Indesign find grep is my usual nemesis

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