in reply to
Regex that will append to end of same line
Do you mean something like ...
s/^1\(.*\)/1\1,P/g;
--
Its like a dog that can sing and dance.
It's remarkable because it can do it.
Not that it can do it well.
Comment on
Re: Regex that will append to end of same line
Replies are listed 'Best First'.
Re: Re: Regex that will append to end of same line
by
data67
(Monk)
on Jan 04, 2002 at 01:13 UTC
Would this work:
s/^1/^$,P/g
[download]
Can you calrify yours please. Thanks..
[reply]
[d/l]
In Section
Seekers of Perl Wisdom