» 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 | 680 downloads
IsValidEmail (String)

bo27 14/02/2012 - 19: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 - 12: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

~2h ago

evvvvil: My refracted brutalism shader... Sucking sweet refracted milk off the tits of schlick fresneled reflections. https://www.shadertoy.com/view/wt33RN

~1d ago

io: @sinao build the cube in a 3d editor soft such as Blender and do the UV mapping there

~2d ago

sinao: one side

~2d ago

sinao: How to apply texture only on one of a cube?

~2d ago

tonfilm: Just updated the CraftLie rendering pack to latest: craftlie-dx11-drawing-for-vl

~6d ago

microdee: 2 seconds later: I asked before googling, but why do you need OS support for texture compression?

~6d ago

microdee: what's BC7?

~6d ago

antokhio: https://aka.ms/AA65g28 upvote pls for bc7 support in windows