in reply to Regex that will append to end of same line
my $text = "1..., some words, Dec 13, 2001"; if ($text =~ m/^\1/) { $text =~ m/(.*$)/; print "${1},P"; }
Thanks ;-}
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Regex that will append to end of same line
by Juerd (Abbot) on Jan 04, 2002 at 01:41 UTC | |
|
Re: Re: Regex that will append to end of same line
by talexb (Chancellor) on Jan 04, 2002 at 01:37 UTC |