in reply to How do I use regex to strip out specific characters in a string?
my ($day_of_week, $date, $time) = split ' ', $stamp; my ($month, $day_of_month, $year) = split '/', $date; $time =~ s/://g; my $munged_stamp = "${month}_${day_of_month}_${time}";
------
/me wants to be the brightest bulb in the chandelier!
Vote paco for President!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: How do I use regex to strip out specific characters in a string?
by Sifmole (Chaplain) on Aug 23, 2001 at 00:30 UTC | |
by dragonchild (Archbishop) on Aug 23, 2001 at 00:54 UTC | |
by Sifmole (Chaplain) on Aug 23, 2001 at 00:58 UTC | |
by dragonchild (Archbishop) on Aug 23, 2001 at 01:04 UTC | |
by Sifmole (Chaplain) on Aug 23, 2001 at 01:14 UTC | |
|