Regex Match Everything Except Newline In Latex