"Cleared" contains only a numeric value
Depending on whether the phone number contains "-", "/", replace them with an empty string.
create table
insert
insert
select tel,
replace(tel,
case
when patindex('%-%', tel) > 0 then '-'
when patindex('%/%', tel) > 0 then '/'
end, '') as Cleaned
from
source
share