Use regular express to remove more than one new line.

 * Remove condition because sql had filtered {%