Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Where am i going wrong? Simple Function ?! Re: Where am i going wrong? Simple Function ?!

#103119
JohnMotylJr
Participant

@traq, Thanks for catching that. Normally whenever i use regex i go into my Visual Studio and grab one (ive become lazy). And yeah, i hear what your saying in regards to not trying to go over the top. I know that if people want me to contact them they will enter their appropriate email, nor am i trying to prevent from spammers (because the form im making will only be given to a few people, nothing crazy).

Thanks for the resources and the heads up.

Going with this simple regex

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