» IsValidEmail (String)
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

IsValidEmail (String)

plugin string E-Mail verify
Credits: http://msdn.microsoft.com/en-us/library/01escwtf.aspx

about

Verifies that strings are in valid e-mail format.

download

StringIsValidEmail.zip
14.02.12 [18:48 UTC] by bjoern | 704 downloads
IsValidEmail (String)

bo27 14/02/2012 - 20:27

hey bjoern, thank you for the contrib!
may i suggest 2 improovements?
1/ validate via root zones http://www.iana.org/domains/root/db/ (avoid locals, but only classic latin),
since test@domainname.rus marked now as valid but it's not
test@domainname.ru is valid
2/ let more flexible names
e.g. (_@domainname.com) now marked as not valid, but it is. i know, google not let to use signs, but some other services do, so _ and - sings should be welcome in the plug filters.

bjoern 15/02/2012 - 13:26

To be honest I merely copied the code found here and pasted it into a string-plugin-template.

The code uses a regular expression to parse the input and check if it adheres to a certain form/syntax. Nothing is really validated, "rus" just matches the pattern like "com" or "net" do. The regex only tests if the TLD part consists of at least of two and a maximum of 17 characters.

So the plugin is not named very aptly and maybe should rather be called IsWellformedEmail (String).

Concerning underscores, as far as I know they are allowed in mail-addresses, just not at the beginning of the string, therefore t_st@domainname.net is marked valid (wellformed) whereas _st@domainnam.net is not.

anonymous user login

Shoutbox

~1d ago

herbst: @joreg ok, too bad! I think an interactively explorable one (like vvvvjs but doesnt need to be functional) would be great to have!

~2d ago

joreg: @herbst am afraid i can't think of any online. best open it for yourself & have a look at the examples that come with the helpbrowser

~2d ago

herbst: Just tried to show some people how concise and condensed vvvv looks even for complex stuff. Are there complex screenshots anywhere?

~4d ago

domj: Midweek Patch Therapy today at 17:30 CET! Hope to see you there https://therapy.domj.net

~4d ago

domj: Schéma + Orca + Pilot, a love triangle https://www.twitch.tv/videos/639199128

~5d ago

joreg: Your next chance for an easy introduction to the all-new #vvvv gamma: This friday 6pm CET: https://thenodeinstitute.org/event/introduction-to-creative-coding-with-vvvv-gamma-english/

~8d ago

~11d ago

domj: Stuck in your patching or eager to share what you made or came across? Join Midweek Patch Therapy at 17:30 https://therapy.domj.net/