Questions tagged [regex]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 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:", "...
0
votes
0answers
32 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-...
3
votes
1answer
593 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 ...
2
votes
1answer
256 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 ...
3
votes
1answer
229 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) ...
0
votes
1answer
600 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 ...
2
votes
1answer
3k 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, ...