From: Farrel Lifson Date: 2008-07-28T20:49:11+09:00 Subject: Re: regarding validation of email address. 2008/7/28 Vamsi Krishna : > hi all > > i used the following reg. expression > > /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i > for validating an email address. > > and its work nice. *but i need to add + in the validation as i need it > > ex: user+tag@gmail.com > > so in order to validate this where should i put + symbol in regular > expression so that i send emails to user+tag@gmail.com. Have a look at http://tfletcher.com/lib/rfc822.rb Regards, Farrel