Relaxed check of field name so that it replaces newlines across all fields.