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

GREP / Regex Flavour in InDesign

Enthusiast ,
Jul 02, 2024 Jul 02, 2024

Copy link to clipboard

Copied

Hi

I would like to know what is the Flavour/Version of GREP/RegEx used by Adobe InDesign ?

 

There are many flavours like PCRE v1, PCRE v2, PERL, Java, Python, ECMA.

 

I see most of the regex written in Notepad++ works in InDesign except few.

 

I try most of the regex in Notepad++ and regex101 site first and then use it in InDesign.

 

Thanks

 

TOPICS
How to , Type

Views

294

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 03, 2024 Jul 03, 2024

The standard reference for InDesign GREP is @Peter Kahrel's GREP in InDesign.

 

The Resources section of that book says, "InDesign's GREP uses the Boost libraries" (long URL follows from www.boost.org, excuse me for not typing it all in but it does contain the folder string 1_67_0, which I assume indicates a version or fork).

 

Hope that's useful. As the implementation is very specific/tailored to InDesign, you would probably find Peter's book useful.

Votes

Translate

Translate
Community Expert ,
Jul 03, 2024 Jul 03, 2024

Copy link to clipboard

Copied

The standard reference for InDesign GREP is @Peter Kahrel's GREP in InDesign.

 

The Resources section of that book says, "InDesign's GREP uses the Boost libraries" (long URL follows from www.boost.org, excuse me for not typing it all in but it does contain the folder string 1_67_0, which I assume indicates a version or fork).

 

Hope that's useful. As the implementation is very specific/tailored to InDesign, you would probably find Peter's book useful.


┋┊ InDesign to Kindle (& EPUB): A Professional Guide, v3.1 ┊ (Amazon) ┊┋

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
Enthusiast ,
Jul 04, 2024 Jul 04, 2024

Copy link to clipboard

Copied

LATEST

@James Gifford—NitroPress Thank you so much. Your answer was very helpful.

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