in reply to Take out date part of my field value
$field =~ s/\(\d{2}\/\d{2}\/\d{2}\)//;
This will strip out the parentheses and the date. You were on the right track, but regex quantifiers (other than *, + and ?) use {}.
Hope this helps.
This will strip out the parentheses and the date. You were on the right track, but regex quantifiers (other than *, + and ?) use {}.
Hope this helps.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Take out date part of my field value
by derby (Abbot) on Aug 24, 2005 at 14:54 UTC |
In Section
Seekers of Perl Wisdom