Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
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 browsing the Monastery: (6)
As of 2017-11-22 02:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (314 votes). Check out past polls.

    Notices?