Welcome Dialog

Welcome to the Community!

We have a brand new look! Take a tour with us and explore the latest updates on Adobe Support Community.


Generic find/replace changing styles...

Engaged ,
Jun 13, 2021 Jun 13, 2021

Copy link to clipboard

Copied

Find/replace seems buggy now -

 

I'm doing the standard replacing of "space-return" with "return", and in every case, the paragraph following the return takes on the style of the return.

This did not happen before.

Have I missed something? Am I forgetting something? (Probably...)

TOPICS
How to

Views

144

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 guidelines

correct answers 1 Correct answer

Adobe Community Professional , Jun 13, 2021 Jun 13, 2021
I just checked and it happens in CS6 as well so I think you may be misremembering. Try a GREP find for \s+$ (any whitespace at the end of a paragraph) and leave the change field blank (which will remove the whitespace, but not the return and replace with nothing).

Likes

Translate

Translate
Adobe Community Professional ,
Jun 13, 2021 Jun 13, 2021

Copy link to clipboard

Copied

I just checked and it happens in CS6 as well so I think you may be misremembering.

 

Try a GREP find for \s+$ (any whitespace at the end of a paragraph) and leave the change field blank (which will remove the whitespace, but not the return and replace with nothing).

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 guidelines
Engaged ,
Jun 14, 2021 Jun 14, 2021

Copy link to clipboard

Copied

Hi Peter - 

Thanks for the note.
I don't think I'm misremembering; I've done this for hundreds if not thousands of documents as a "space-return" combination is one of my biggest peeves. Don't know how I must have done it...
[Scratches head, mysterious music plays]

I don't know how to use GREP, so that's not a possibility... I should learn... I'll try this out.

OK! I've tried this out. Brilliant, as it also removes multiple spaces before a paragraph return. Just ran out and picked up a GREP reference chart here.

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 guidelines
Adobe Community Professional ,
Jun 14, 2021 Jun 14, 2021

Copy link to clipboard

Copied

LATEST

Glad to help.

 

GREP is an amazing tool. Get yourself a copy of Peter Kahrel's guide to using GREP in InDesign: https://sites.fastspring.com/publishingsecrets/product/GREP3

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 guidelines