Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re^2: Capturing Date/Time

by logie17 (Friar)
on Aug 16, 2007 at 21:29 UTC ( #633175=note: print w/replies, xml ) Need Help??


in reply to Re: Capturing Date/Time
in thread Capturing Date/Time

I like FunkyMonk's solution, but here's another:
if ($time =~ /^\w{3}\s\d{2}\,\s\d{4}(\s\d{2}:\d{2}\s\w{2})?/){ print "Found it\n"; }
I'm new to regex too, but I thought I'd give a crack at it too.
Cheers!
s;;5776?12321=10609$d=9409:12100$xx;;s;(\d*);push @_,$1;eg;map{print chr(sqrt($_))."\n"} @_;

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://633175]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2022-08-15 14:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?