Email Regular Expression not working?
Last Post 10-02-2015 09:01 AM by Shahid. 3 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Resolved
skaderaUser is Offline
going with the flow
going with the flow
Posts:40
Avatar

--
09-27-2011 09:04 AM
    Hi,

    I'm trying to validate an email address with the Regular Expression on the Data Springs Demo #1 but I can't get it to work. When I add a valid email address it still gives me the error. What am I doing wrong?

    Thanks,

    Scott
    skaderaUser is Offline
    going with the flow
    going with the flow
    Posts:40
    Avatar

    --
    09-27-2011 10:13 AM
    • Accepted Answer
    Ok, I figured it out. when I copied the code from the DS site demo and pasted it, it pulled out the + signs. So, I went into the downloadable XML and pulled the RegEx from that. It works fine now.

    Thanks,

    Scott
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    09-27-2011 06:39 PM
    Thanks for the update Scott!

    -Chad
    ShahidUser is Offline
    new to the springs
    new to the springs
    Posts:1
    Avatar

    --
    10-02-2015 09:01 AM
    Actually "+" signs are missing from Demo #1 and needs to be added in RegEx. The correct expression is as listed below

    ^[_a-zA-Z0-9-]+(\.[_a-zA-Z0-9-]+)*@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.(([0-9]{1,3})|([a-zA-Z]{2,3})|(aero|coop|info|museum|name))$


    ---
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi