HI,
how to validate a time in regular expression
eg: alert 9916789067 05:16 wake up
so i should validate time time can be
05:16
0516
05.16p
05.16p.m or pm
05.16a
05.16a.m or am
05:16a
if any one knows help me
HI,
how to validate a time in regular expression
eg: alert 9916789067 05:16 wake up
so i should validate time time can be
05:16
0516
05.16p
05.16p.m or pm
05.16a
05.16a.m or am
05:16a
if any one knows help me
2007/9/6, Shiva K. [email protected]:
HI,
how to validate a time in regular expression
eg: alert 9916789067 05:16 wake up
so i should validate time time can be
I didnt try it, you could try to use the validates_format_of
(http://api.rubyonrails.org/classes/ActiveRecord/Validations/ClassMethods.html#M000945)
method.
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