Am 3. März 2010 20:22 schrieb Guido Pesch <guido.pe...@netcologne.de>:
> Hallo Liste,
>
> ich möchte Die Zeit im Format 00:00 (min:sec) eingeben.
>
> Mit validates_format_of möchte ich die Eingabe validieren.
>
> kann mir jemand bei dem REGEX ausdruck helfen.
>
> max eingabe ist 59:59
> min 00:00
>

Hallo Guido,

schau Dir doch mal [...] und \d an.

Gruß,
Martin

--
GL Networks
Martin Rehfeld
http://www.glnetworks.de
_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an