I\'m trying to create an input mask with the following pattern: "4.01.05.01-6". In the onchange method I execute a function that uses the replace method: