I've got a regular expression that I am using to check against a string to see if it an email address:
@"^((([\w]+\.[\w]+)+)|([\w]+))@(([\w]+\.)+)([A-Za-z]{1,3})$"
This works fine for all the email addresses I've tested, provided the bit before '@' is at least four characters long.
Works:
web1@domain.co.uk
Doesn't work:
web@domain.co.uk
How can I change the regex to allow prefixes of less than 4 characters??