Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Find and Replace is not working for Forced New Line Character

Return to Member Forum

  • Author
    Posts
    • #115912

      I am trying to replace all Forced New Line characters (^n) with a space. I have added the following code in my FindReplace by List. But, it does not replace the Forced New Lines. I have added another line too in the same code, to replace all 0s as ZERO. It works fine.

      text {findWhat:”^n”} {changeTo:” “, appliedCharacterStyle:”UT”} {caseSensitive:true, includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find and Replace all new lines

      text {findWhat:”0″} {changeTo:”ZERO”, appliedCharacterStyle:”UT”} {caseSensitive:true, includeFootnotes:true, includeMasterPages:true, includeHiddenLayers:true, wholeWord:false} Find and Replace all 0

      Can anyone help me? I am sorry… so many questions I ask in Find and Replace itself.

      Thanks in advance

    • #115913
      Jeremy Howard
      Participant

      Just off the top of my head, they rather than ^n and see if that works

    • #115914
      James Welsh
      Member

      Use GREP search rather than text the correct Grep codes go here: https://www.jongware.com/idgrephelp.html

    • #115915
      Aaron Troia
      Participant

      Hey Radhakrishnan,

      For the forced line break search, try n for forced line breaks in your findWhat search.

      Aaron

Viewing 3 reply threads
  • You must be logged in to reply to this topic.
Forum Ads