Use regular expressions to clean up some formatting