Mask input regex js in html fields.