Regular Expressions 101

Library entries

Remove single, but not repeating newlines, except immediately after a period. (xiTWA2/1)

Vote

0

Regular Expression
pcre

/
(?<![\.\n]) ?\n(?!\n)
/
gsm

Description

Loading markdown...
Submitted by Tristan - 7 days ago