in reply to regex to add network line-endings if required.

You can do it with a simple replacement, where the pattern is any number of possible line-ending characters, and the replacement is the ending you want.

Caution: Contents may have been coded under pressure.
  • Comment on Re: regex to add network line-endings if required.