Hapus simbol dari cnpj js

"22.918.180/0001-28".replace(/[^\w\s]/gi, '') // 22918180000128
Cirilord