Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: A regular expression that will work for (hh:)mm:ss [converting clock time to seconds]

by Riales (Hermit)
on Apr 13, 2012 at 00:35 UTC ( #964845=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    my $timeRegex = '((?:[0-1][0-9]:)?[0-5][0-9]:[0-5][0-9])';
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://964845]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (8)
As of 2017-01-23 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (190 votes). Check out past polls.