JavaScript Usuń nie numeryczne znaki z String Keep Dot
var s = "-12345.50 €".replace(/[^\d.-]/g, ''); // gives "-12345.50"
Matteoweb
var s = "-12345.50 €".replace(/[^\d.-]/g, ''); // gives "-12345.50"