πŸ”Regex Recipes

Email Validation (Permissive)

Very permissive email pattern for loose input acceptance. Use when you want to avoid false rejections.

Pattern

^.+@.+\..+$

Explanation

Minimal email validation that accepts almost any string with @ and a dot after it. Good for initial input acceptance.

Examples

Standard email
Input
user@example.com
Output
βœ“ Match
Unusual but valid
Input
user+tag@sub.domain.co.uk
Output
βœ“ Match
International
Input
user@δΎ‹γˆ.jp
Output
βœ“ Match
Very loose match
Input
a@b.c
Output
βœ“ Match (may be false positive)
Invalid
Input
notanemail
Output
βœ— No match

Code Examples

JavaScript
const permissiveEmailRegex = /^.+@.+\..+$/;
// Use for initial validation, then verify with email
const seemsLikeEmail = permissiveEmailRegex.test(input);
if (seemsLikeEmail) {
  // Send verification email
}

Try it Now

πŸ’‘ Tips

  • Use for initial input to avoid frustrating users
  • Always follow up with email verification
  • Better to accept and verify than reject valid unusual formats
  • Consider this for international email addresses

⚠️ Common Pitfalls

  • Will accept many invalid email formats
  • Does not validate domain or TLD validity
  • May create false positives
  • Still needs email verification for production use