Ruby on Rails
Monday, July 6, 2015
yes.
On Monday, July 6, 2015 at 7:46:57 PM UTC+2, Elizabeth McGurty wrote:
--Before I respond, are you saying that in a single input you are gathering multiple email addresses?
On Monday, July 6, 2015 at 11:58:39 AM UTC-4, StepaAr wrote:I have a couple questions.
1) I have a couple of emails.They are separated between buy comma or space.How to find which one is correct? I was thinking using regular expression like this one :/\A[\w+\-.]+@[a-z\d\-]+(\.[a-z]+)*\.[a-z]+\z/ i
2)How to put valid email address to database ?
3)If some email address is not valid then i have to give a massage using client-side which email are not valid
I was thinkingjavascript.But how?I don't know to use rails and javascript
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/2ce05381-add9-4132-9793-ab18b38fca2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment