Home › Forums › JavaScript › Where am i going wrong? Simple Function ?! › Re: Where am i going wrong? Simple Function ?!
May 19, 2012 at 10:13 pm
#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+)*