Got more questions? Find advice on: ASP | SQL | XML | Windows
in Search
Welcome to RegexAdvice Sign in | Join | Help

Browse by Tags

All Tags » email
  • Valid email OR empty

    I have found a great deal of advice here in the forum, and "borrowed" a good many Regex codes from you all. Thank you very much. I'm learning how Regex works, but in this case I am pressed for time as this project is going live very soon.  There are a good deal of Regex to validate an email address. I found a great one to ...
    Posted to Construction Advice (Forum) by helix on November 20, 2008
  • Validating Email Revisited

    First off let me say I'm a bit over my head here. Not regex part but host the language of the regex engine. Many moons ago I posted a blog article stating why you could not write a regex that validated an e-mail address 100%. Well this is still true, however in that posted I also stated that the pattern was so massive ...
    Posted to Michael Ash's Regex Blog (Weblog) by mash on September 28, 2008
  • Need a regular expression for validating email which should exclude /|\;,<> and spaces

    Hi I need a regular expression for email validation, it should excldue the email addresses with the following special characters.  \|/,;<> and spaces. The rule for validating the email is : Email address must contain a single @, one or more periods, and any standard characters with the exception of spaces and the ...
    Posted to Construction Advice (Forum) by bvsuresh_reddy on March 19, 2008
  • Re: Message-ID

    I have found some emails with data in the body (regex and target data see below) where we have at the beginning of a line, text followed by a colon and space which is translated as a column.  How can I modify the expression to ignore anything below the first blank line (as Susan mentioned above is the identifier of the body begin)? Thanks ...
    Posted to Construction Advice (Forum) by eds on March 3, 2008
  • Matching email with blank subject/body, and attached PDF

    I'm trying to use Trend Micro's Security Dashboard to filter a lot of spam we've been getting that is in the following form:   From: various crap email addresses (different every time) To: various internal email addresses Subject: blank, or occasionally containing one word Body: always blank Attachment: A small pdf file of ...
    Posted to Construction Advice (Forum) by brian0918 on July 26, 2007
  • Email or nothing

    hi i have this javascript regular expression for testing emails ^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$ the problem is that the email  should be optional so the regular expression should match: nothing or  ^([a-zA-Z0-9_\.\-])+\@(([a-zA-Z0-9\-])+\.)+([a-zA-Z0-9]{2,4})+$
    Posted to Construction Advice (Forum) by psokarovski on April 20, 2007