const pattern = /I hope this (\w+) finds you well\./; if (pattern.test(text)) { console.log("is ai."); } else { console.log("not ai."); }
/I hope this (\w+) finds you well\.|It's important to note that |As a large language model/