Hallo Guido,

\d hilf glaube nur auf den ersten Blick. Ein Ausdruck wie /[0-5]\d:[0-5]\d/ 
sollte es eigentlich schon tun, aber das habe ich jetzt nicht getestet.

        Beste Grüße,

                Daniel

Am 03.03.2010 um 20:22 schrieb Guido Pesch:

> 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
>  
> Danke und gruß
> Guido
>  
> _______________________________________________
> rubyonrails-ug mailing list
> rubyonrails-ug@headflash.com
> http://mailman.headflash.com/listinfo/rubyonrails-ug


--
acidforce.org - IT-Services
Daniel Schweighöfer
c/o weXelwirken
Mühlenstraße 20
33098 Paderborn

05251/ 50 88 99 2
0151/ 211 58 328
mailto: i...@acidforce.org
http://www.acidforce.org 
jabber: a...@c3pb.de




_______________________________________________
rubyonrails-ug mailing list
rubyonrails-ug@headflash.com
http://mailman.headflash.com/listinfo/rubyonrails-ug

Antwort per Email an