Regex adjustment
Newline swap modified