removing the regex for new line replacement