18 points · by arunbahl · 3y ago · 6 comments
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/