I\'m really new in JavaScript and I would like to add to my input text, space insertion for IBAN account registering.
for thousands on angular 4 in a pipe integer = integer.replace(/[^\dA-Z]/g, '').replace(/(.{3})/g, '$1.').trim();