reg07 is what you need.
Code includes the process into building it
const stringToTest = "zaz234@microshit.kazo"
// Ideal
const regex = new RegExp('(^[^@.]+)@([^@.]+)\.{1}(\w{1,6}$)');
const reg = /(^(.+?))@(.+?).(\w{1,6})/;
const reg00 = /(^(.+)@)/;
const reg01 = /(^[^@]+)@/;
const reg02 = /(^[^@]+)@([^@]+)/;
const reg03 = /(^[^@]+)@([^@]+)\.{1}/;
const reg04 = /(^[^@]+)@([^@]+)\.{1}(\w+)/;
const reg05 = /(^[^@]+)@([^@]+)\.{1}(\w{2,4})/;
const reg06 = /(^[^@]+)@([^@]+)\.{1}(\w{1,6}$)/;
const reg07 = /(^[^@.]+)@([^@.]+)\.{1}(\w{1,6}$)/;
console.log(`We are testing this RexEx:\n${reg07}\n\nTo see if matches this string:\n${stringToTest}\n\nResults:`)
const booleanReg = reg07.test(stringToTest)
const arrayReg = reg07.exec(stringToTest)
console.log(`1.Simeple Match:\n${booleanReg}\n2.Array Match:\n${arrayReg}`)
const emailInfo = {
emailUserName: arrayReg[1],
emailProvider: arrayReg[2],
emailExtention: arrayReg[3]
}
console.log(`\n\nemail objet build:\n\n`, emailInfo)