Predictably how many?

On Monday, July 6, 2015 at 3:04:57 PM UTC-4, StepaAr wrote:
>
> 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  thinking javascript.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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/635cd460-24a8-4c93-b7d7-6ee296dd3f20%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to