Highlighted

grep search

Community Beginner ,
Aug 10, 2020

Copy link to clipboard

Copied

I have to replace the style when the words come up
Monday, 
Tuesday, 
Wednesday, 
Thursday, 
Friday, 
Saturday, 

always the day, and then the comma with the space. I just have to change the style when I find this. How do I do that?

Sunday has a different style, so I didn't mention it

Most Valuable Participant
Correct answer by _Jongware_ | Most Valuable Participant

Search for

 

\b(Mon|Tues|Wednes|Thurs|Fri|Satur)day,\h

 

and leave the Change To field blank. Set the style in the Change To Formatting.

 

You can save the query to re-run it later by clicking on the floppy disk icon and giving it a useful name; then it will appear in the dropdown list. (https://helpx.adobe.com/indesign/using/find-change.html#find_change_items_using_queries)

 

If you are using Paragraph Styles throughout and this change is suitable, you can also consider adding a GREP Style. That means you don't have to remember doing the actual change!

See   https://helpx.adobe.com/indesign/using/drop-caps-nested-styles.html#create_grep_styles

Topics

How to

Views

29

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

grep search

Community Beginner ,
Aug 10, 2020

Copy link to clipboard

Copied

I have to replace the style when the words come up
Monday, 
Tuesday, 
Wednesday, 
Thursday, 
Friday, 
Saturday, 

always the day, and then the comma with the space. I just have to change the style when I find this. How do I do that?

Sunday has a different style, so I didn't mention it

Most Valuable Participant
Correct answer by _Jongware_ | Most Valuable Participant

Search for

 

\b(Mon|Tues|Wednes|Thurs|Fri|Satur)day,\h

 

and leave the Change To field blank. Set the style in the Change To Formatting.

 

You can save the query to re-run it later by clicking on the floppy disk icon and giving it a useful name; then it will appear in the dropdown list. (https://helpx.adobe.com/indesign/using/find-change.html#find_change_items_using_queries)

 

If you are using Paragraph Styles throughout and this change is suitable, you can also consider adding a GREP Style. That means you don't have to remember doing the actual change!

See   https://helpx.adobe.com/indesign/using/drop-caps-nested-styles.html#create_grep_styles

Topics

How to

Views

30

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Community Beginner ,
Aug 10, 2020

Copy link to clipboard

Copied

I forgot to say that I want to save a grep search that automatically replaces the style

 

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Most Valuable Participant ,
Aug 11, 2020

Copy link to clipboard

Copied

Search for

 

\b(Mon|Tues|Wednes|Thurs|Fri|Satur)day,\h

 

and leave the Change To field blank. Set the style in the Change To Formatting.

 

You can save the query to re-run it later by clicking on the floppy disk icon and giving it a useful name; then it will appear in the dropdown list. (https://helpx.adobe.com/indesign/using/find-change.html#find_change_items_using_queries)

 

If you are using Paragraph Styles throughout and this change is suitable, you can also consider adding a GREP Style. That means you don't have to remember doing the actual change!

See   https://helpx.adobe.com/indesign/using/drop-caps-nested-styles.html#create_grep_styles

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...