Is there any way to disable hyphens and slashes in the namin_series field

is there any way to remove hyphens and slashes in a naming_series field, i have changed data type to data still slashes and hyphens are showing.