Reformat text