in reply to Re: Regex that will append to end of same line
in thread Regex that will append to end of same line

Would this work:

s/^1/^$,P/g

 

Can you calrify yours please. Thanks..