regex replace cpf
snippet in javascript

regex replace cpf

user8632

str.replace(/\.|\-/g, "");