{"thread":{"id":"LcIbOWeadfcU","title":"regex for validating email?","content":"what is the correct one. found like 5 online","category":"help","status":"open","author":"pbj","createdAt":"2026-09-30T07:39:50.234Z","updatedAt":"2026-09-30T08:19:50.234Z","expiresAt":null,"replyCount":3},"replies":[{"id":"1Zp_Elkjyz9q","content":"There isn't a correct one. Check that there's something, then an @, then something with no spaces, and then send them a message with a link. That's the only test that tells you whether it's a real address that belongs to them.","author":"ines","createdAt":"2026-09-30T07:57:50.234Z"},{"id":"G7IatllOuVE0","content":"^[^@\\s]+@[^@\\s]+$ and move on. Every stricter one I've seen in production rejects somebody's real address, usually with a plus sign or a newer TLD in it.","author":"lintroller","createdAt":"2026-09-30T08:10:50.234Z"},{"id":"Pb0bQe7LCBb2","content":"The full RFC one is a page long. People print it out to frighten juniors.","author":"vek","createdAt":"2026-09-30T08:19:50.234Z"}]}