Skip to main content

Questions tagged [regex]

The tag has no usage guidance.

1 vote
1 answer
300 views

InDesign: Regex/GREP works on tester, not in InDesign - issue with OR/| operator?

I have the following sample text: Writing: Gnusto. Editing: Caskly. Circulation: Izyuk. I'm trying to use a GREP regex to select only the job titles and colons (i.e. "Writing:", "...
sparc_spread's user avatar
0 votes
0 answers
47 views

Find a string between 2 static element groups

I want to find all textblocks in InDesign with Grep that are between "Article: " and "— " I already tried to understand what they do here: https://indesignsecrets.com/findbetween-a-...
Daiaiai's user avatar
  • 268
3 votes
1 answer
875 views

Any way to export layers to files WITHOUT a prefix, short of editing the .jsx file?

I'm using a template PSD to crop large batches of ecom images and then exporting my layers to TIFF files. Only problem is Photoshop insists on putting a prefix in front of each file name--even if I ...
Sabina's user avatar
  • 31
2 votes
1 answer
478 views

InDesign, Grep - what is the base syntax of InDesign grep

There are many regex syntax, one different from the other: .Net regex, Java regex, PHP/PCRE regex, Python regex. etc. Some sites for checking & testing regex expressions are just great - like ...
Yeshurun Kubi's user avatar
3 votes
1 answer
273 views

Regex to insert EN space

Indesign CS5. I'm trying to perfect a regular expression to quickly replace the single-space from raw text to the EN space. I'm using the following: (\w)([.!?])(['"]{0,1}) {1,}(['"]{0,1})(\u) ...
JBH's user avatar
  • 177
0 votes
1 answer
937 views

GREP terms for searching a dash followed by a string of numbers and a paragraph break

I need to find several text-elements that have a structure like — 12345 or — 123456 or — 1234567 in InDesign via GREP - I can't display that in stackoverflow, but each of these terms is ...
Daiaiai's user avatar
  • 268
2 votes
1 answer
4k views

InDesign: how to find all numbers followed by a period

I have a list which consists of (goes up to 9): 1. 2. 3. And i want to make them: 1. 2. 3. But, they all have a space before the number, I haven't found a regex to find all these occurrences, ...
lanes123's user avatar
  • 197