Skip to main content
Inspiring
April 6, 2015
Question

Find Grep And Ignore the line break

  • April 6, 2015
  • 1 reply
  • 1199 views

Hi Guys!,

In my document having the text of "application \nfor you"

Then, I need to ignore the line break in entire text indesign document.

please help me!

Thanks by

John Peter.

This topic has been closed for replies.

1 reply

Community Expert
April 6, 2015

Add (?s) in front of your search string:

app.findGrepPreferences = '(?s).+';

matches whole stories.

Peter

AD4003Author
Inspiring
April 7, 2015

Thanks for your reply pkahrel.

In my document have words: application \nfor you

find what: (application for you)(?s)     ------ignore the \n

I don't want entire story.

Please reply me.

Community Expert
April 7, 2015

find what: "application for you
nyou"