Questions tagged [regex]
The regex tag has no usage guidance.
8
questions
0
votes
0
answers
25
views
Search and replace artboard name with incremental number
In case we have a prototype let's say with 10 steps (artboards):
d/0001 - Lorem ipsum 1
d/0002 - Lorem ipsum 2
d/0003 - Lorem ipsum 3
d/0004 - Lorem ipsum 4
d/0005 - Lorem ipsum 5
d/0006 - Lorem ...
0
votes
1
answer
107
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
0
answers
40
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
1
answer
752
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
1
answer
347
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
1
answer
257
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
1
answer
792
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
1
answer
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, ...