Regular Expressions 101

Sponsors

Library entries

Replace all newlines (except double newlines) with spaces

Vote

0

Regular Expression
pcre

/
([^\n])\n(?=[^\n])
/
gm

Description

Loading markdown...
Submitted by anonymous - 3 months ago