s{ (

(?=(?:(?!

).)*\n\n) # Followed by two newlines not preceded by

(?:(?!

).)*

) # Followed by

not preceded by

}{-->$1<--}sgx;