何それ初?。
{
const Cat_Kayser = (nekote) => (nekote.match(/ね.*?こ.*?て[^!!]*([!!]*)/) || []).map((str, i, a) => i ? `${str}?` : `は${str.replace(/[^ー]/g, '')}い`).join('');
console.log(0,Cat_Kayser('ねこて'));
console.log(1,Cat_Kayser('ねこてっ!'));
console.log(2,Cat_Kayser('ねこてー!'));
console.log(3,Cat_Kayser('ほたてーーーー!'));
console.log(4,Cat_Kayser('ねこてーーーーっ!!'));
console.log(5,Cat_Kayser('ねぇーーこぉーてぇーー!!!!!!'));
console.log(6,Cat_Kayser('ねこのてもかりたい'));
}