Start a new topic

Removing incorrect dashes between lowercase letters

Sometimes you get source files like this:


image

Whereas you want to have them like this:


image

Then you can remove the incorrect dashes between lowercase letters with this regular expression:


image


Find expression: (?<before>[a-zäüö])‐(?<after>[a-zäüö])

Replace expression: ${before}${after}

1 Comment

Note that you have to copy the dash from the source: sometimes they aren’t simple dashes.
Login to post a comment