Questions tagged [grep]

A Unix command used to search files for the occurrence of a string of characters that matches a specified pattern.

11 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3 votes
0 answers
308 views

Adobe Indesign: How to look for the first line in each paragraph

How can I look for the first line in each paragraph, and add a line break after it?
user avatar
2 votes
0 answers
150 views

Does someone know of a script to automatically put specific texts as footnote text?

A little while ago I made this post. Because of that I can automate placing footnote references where they are needed. Now the problem is that the actual footnote texts are just placed randomly in the ...
user avatar
2 votes
1 answer
667 views

InDesign Paragraph Styles, Object Styles & GREP

New to the forum, so apologies if this has possible been covered before. I work in catalogue creation and we've recently transferred over to InDesign I'm trying to recreate our price lozenges in ...
user avatar
1 vote
2 answers
30 views

GREP Style Capital first letter

Is it possible to create a GREP function that will automatically change the first letter to capital letter in a word? For example: "moonlight" and GREP changes it to "Moonlight". ...
user avatar
1 vote
1 answer
231 views

Indesign: GREP lookbehind

I'm trying to automatize giving character styles to the editor given names (not the author names) in literature sources like this one via Find/Change (not GREP styles): Jacobs, G. A., Boero, J. V., ...
user avatar
  • 373
1 vote
0 answers
181 views

Removing "space" in a data merge if not all names have titles to start with

I found a great reference on here for using Grep to remove a double space in a data merge if some names have a middle initial but others do not. But what do you do if the issue is at the start of the ...
user avatar
1 vote
0 answers
2k views

Change all uppercase letters in a named style to initial case (Indesign Grep)

This is my first post here. I have Peter's (forgot his last name) excellent change case-script so I can do the replacement with no problem, but the find is baffling me. I have a glossary where the ...
user avatar
0 votes
0 answers
37 views

Can fonts be displayed as contextual character combinations?

Looking for way to do a handwriting font but where certain letter sequences or patterns display together. Would the method be to put the two or three or four letters together as one, as uncommonly ...
user avatar
  • 101
0 votes
0 answers
314 views

Use GREP in Indesign to replace PAIRS of typographer's (curly) quotation marks

Current format: “This is a quoted speech, which said ‘another quoted speech’ is best.” “However, what about their ‘discussion’s speech’?” Intended format: ‘This is a quoted speech, which said “another ...
user avatar
  • 370
0 votes
0 answers
34 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-...
user avatar
  • 268
0 votes
1 answer
484 views

How to make GREP match everything between two markers, regardless the Forced Line Brake occurance

I'm wondering if it's possible to make GREP "jump over" the Forced Line Brake (FLB), while he is searching for particular keyword. I have a text frame containing multiple Companies described by three ...
user avatar
  • 11