Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
@:1107459172::1 MORe TEXT <br>okokoko <br>TEXT MORE TITLE twisted.gif Thu Feb 3 14:32:52 2005
open(DATA,"db.txt") or die $!; while(<DATA>){ chomp; my @array=$_; if(@array=~/(.*)(\d+:\d+:\d+)(.*?)/g) do code... }
20050204 Edit by castaway: Changed title from 'Reg. Ex.p Match'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Using regex to match date and time
by friedo (Prior) on Feb 03, 2005 at 20:21 UTC | |
by Anonymous Monk on Feb 03, 2005 at 20:28 UTC | |
|
Re: Using regex to match date and time
by Fang (Pilgrim) on Feb 03, 2005 at 20:21 UTC | |
|
Re: Using regex to match date and time
by ww (Archbishop) on Feb 03, 2005 at 20:38 UTC |