Remove newline detecion, replace indent using regex