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

learn more… | top users | synonyms

0
votes
0answers
24 views

Im trying to use grep styles to format large quantities of text

Here is a sample of the text. NEW! Certificate in Office Operations (3 parts) Office Operations Cyber Security for Managers Embracing Sustainability in the Workplace Intro to 3D Printing ...
0
votes
1answer
23 views

GREP rule to catch all types of web link / URL

I'm looking to build a robust, reliable GREP rule to catch all web links and URLs that appears in text, covering all possible characters and gotchas like HTTPS, or URLs in brackets like ...
2
votes
2answers
75 views

InDesign GREP everything between two consecutive returns and a digit(or)return

Say I have some text in the following format: What I am trying to style, using GREP, is the beginning of every new paragraph (that comes after an empty line), until a digit or return is reached, so ...
0
votes
0answers
26 views

Need a better Find/Change for indesign

The pesky '~c' in the grep find change is extremely helpful but limited. I want to script multiple find change actions that replace the text found with complex formatted text blocks containing text, ...
1
vote
0answers
77 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 Im trying to recreate our price lozenges in ...
0
votes
1answer
51 views

Using grep to finding long digit series and inserting thin spaces into them

On my page i have a table with over 500 rows, in it one column where all cells contain a different numbers, such as 55123, 666000, 3000 and 1459000 (figures for sums of money). I would need to insert ...
1
vote
1answer
42 views

How to solve a GREP to use on my TOC

I'm really hard to get grep usage.. any tips on how I can achieve a character style using grep for this example (img): Basically the structure is this: (start)paragraph(shift+enter) [characters I ...
0
votes
0answers
127 views

In InDesign, how to get rid of the First Line Left Indent after a “mid-sentence” Frame Break?

I am laying out my grandpa's life story in InDesign. The left page of a spread will have a scanned image of his hand-written story while the right page will have the typed version. Because I would ...
1
vote
2answers
71 views

Indesign grep: Grab everything but

I need to be able to grab the birth year in a summary of a number of people. I know how to grab exactly 4 digits and I know how escape any digit. But I cannot seem to be able to combine the two. Here ...
0
votes
1answer
64 views

InDesign GREP help changing mulitple lines format only

I am looking for help to make formatting baseball stats for my paper easier. SO far i have been able to use GREP to do a lot of the work for me as changing the lines for every game is tedious. Below ...
3
votes
1answer
397 views

How to do a wildcard / GREP / regex find-replace in Illustrator?

InDesign can do advanced find - change AKA find - replace using GREP rules AKA regex AKA regular expressions which allows all sorts of wildcard rules and automation. Is there any way to do the same ...
0
votes
0answers
65 views

Using GREP to change to OldStyle figures with Unicode Range

The OTF font I'm using isn't allowing me to change the figure style to Proportional Old Style figures. The only way I have figured out how to it is to use a GREP search and change but only for one ...
0
votes
1answer
131 views

Indesign GREP: find everything before a matching sequence

Couldn't exactly find the answer in other threads. Here's what I'm trying to accomplish: In the below example I want to apply a GREP style by finding only the title of the artwork. In this case, only ...
4
votes
2answers
323 views

InDesign, Grep and Syntax Highlighting

I have to make an e-book that contains code snippets. I am using GREP to select all code tags (bounded by <> — triangular brackets), and apply a custom style to them. The RegEx I have developed: ...
4
votes
1answer
337 views

How can I use GREP to get all text between the third and fourth underscore in a file name?

In the firm I work for, they have file naming system. It always has 5 sections as in the examples below: File Name: YYMMDD_PROJECT NUMBER_PROJECT NAME_FILE NAME_initials.ext 140527_207_AL MURR ...
1
vote
3answers
2k views

GREP - Apply Character Style until carriage return

Is there a way to tell InDesign via GREP to apply a Character Style to the first paragraph of a text box before a carriage return? Not a forced line break. A carriage return. Thank you
1
vote
0answers
802 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 ...
1
vote
2answers
305 views

Change HTML tag styles with GREP in InDesign

I have some HTML in a text and I would like to apply a character style to the HTML tags: <p>This is some <strong>HTML</strong> I want to use.</p> I want to only change the ...
1
vote
1answer
388 views

How can I use GREP in InDesign to swap numbers then nest, then repeat

Long time lurker, first time poster! Your tips are really valuable and have taught me what I know till now about GREP, thank you! I have a tricky text to style and I am having some issues, and need ...
2
votes
1answer
215 views

GREP duplicate line of text

Is it possible to duplicate lines of text with GREP? Here is exactly what I would like to do; I have a list of letters and numbers that looks like this: R1H3BOA2HA4 R1H3BOA2H4 R1H2H3BO4 ...
2
votes
1answer
1k views

How could I use Indesign's find by grep feature to find and format words between to underscores?

Lets say I have a bunch of text that needs to be italic. Throughout my text, italics are represented as: _word_ _any_ _car_ And so on... I want to find these, and replace them with word, car, any, ...
0
votes
1answer
200 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 ...
3
votes
1answer
533 views

Indesign numbering new line & indentation

I am getting crazy with these two things and after some days of getting nothing from Web search and experimentation I come to you. I am using Indesign CS4 and cannot get to do these two things: 1) ...
2
votes
1answer
1k views

Get the start and finish of text in a certain character style in Indesign GREP

I've been fighting with InDesign GREP find/change quite a bit and couldn't find any way to get it to look at the start and the end of a character style. This is necessary if, for example, you want to ...
2
votes
3answers
773 views

How can I use GREP to find all text between bullet and equals sign in bullet list in InDesign?

I have a bulleted list with several entries, it's a list of keyboard shortcuts, similar to the text below: alt+shift+ctrl+2 = Lock Others alt+shift+ctrl+3 = Hide Others alt+ctrl+b = Blend ...