Regd. Kodos

Paddy paddy3118 at netscape.net
Sat Feb 3 04:17:19 EST 2007


On Feb 3, 8:59 am, vis... at veriwave.com wrote:
> I am trying to use Kodos..but not getting thru'..dont know whats goin
> on..does anyone have a regular expression for time in hh:mm:ss
> -Vishal

Well, with just knowing the above, the following raw string when used
as a regular expression will capture the hh,mm,ss as groups 1,2,3
r'\b(\d\d):(\d\d):(\d\d)\b'

- Paddy




More information about the Python-list mailing list