split the string regex on multiple lines