JavaScript pour masquer l'adresse e-mail
var maskid = myemailId.replace(/^(.)(.*)(.@.*)$/,
(_, a, b, c) => a + b.replace(/./g, '*') + c
);
Emmanuel Mahuni
var maskid = myemailId.replace(/^(.)(.*)(.@.*)$/,
(_, a, b, c) => a + b.replace(/./g, '*') + c
);