How would I use a regular expression to eclude an email address? I’m
using validates_format_of :username,
:with =>
:message => “Your username cannot be an email
address.”
What is the expression to use after “with: =>” to exclude an “@”?
How would I use a regular expression to eclude an email address? I’m
using validates_format_of :username,
:with =>
:message => “Your username cannot be an email
address.”
What is the expression to use after “with: =>” to exclude an “@”?
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs