Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3217040
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T15:21:53+00:00 2026-05-17T15:21:53+00:00

I need to validate a email address the best way, and I need to

  • 0

I need to validate a email address the best way, and I need to include some danish characters:

Æ Ø Å

æ ø å

My current regex is:

\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*

How to incorporate the extra letters, and is there any optimizing that can be done to ensure the best handling of the e-mail address?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T15:21:54+00:00Added an answer on May 17, 2026 at 3:21 pm

    Email address validation is hard with regular expressions.

    A simple version could be:

    ^[ÆØÅæøåA-Za-z0-9._%+-]+@(?:[ÆØÅæøåA-Za-z0-9-]+\.)+[A-Za-z]{2,6}$
    

    but this will fail on some valid addresses like Tim\ O'Reilly@microsoft.com or me@1.2.3.4, and match lots of invalid addresses like here@there.where.

    In any way, you have to send an e-mail to it and get a response before you really know whether an address is valid or not.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to validate the email address that are semicolon separated using ListView. e.g.
I need to validate an email address which was in the format dsfdsf@.fdsf.com As
I need to validate an email address which will be transmitted to several possible
I need to validate the duplicate of FirstName, LastName and Email Address combination using
i need to validate that an inserted email address contains @ and . without
I need to validate the email address of my users. Unfortunately, making a validator
I'm using the following regex to validate an email address text box in javascript:-
I need to validate a form. This is some server side validation that checks
I need to validate email addresses which can be single or several comma-separated ones.
I'm trying to validate that an email address is in the correct format by

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.