New: Try Voli The Bear, Fast package manager (and not only) for Windows
JavaScript
// Write redactFirstPhone(str): replace only the FIRST \d{3}-\d{3}-\d{4}
// match with "***".
function redactFirstPhone(str) {

}

// Write redactAllPhones(str): replace EVERY \d{3}-\d{3}-\d{4} match with "***".
function redactAllPhones(str) {

}