Reply To: Basic Find/Change question

#73671
Aaron Troia
Participant

So it sounds like there is a lot of soft returns and you are wanting to clean them up as well as convert soft hyphens to hard hyphens? That’s kinda what it sounds like you’re saying with wanting to ” ‘let go’ of part of what you found for the CHANGE”

This will find all the soft returns (+) followed by any word character (\w), non-word character (\W), or digit (\d), while using a positive lookbehind (?<=), and replace the soft returns with a single hard return.

Find: +(?<=\W|\w|\d)
Change: \r

Is that more along the lines of what you’re looking for?

This article was last modified on March 3, 2015

Comments (0)

Loading comments...