in reply to how to do repalce single line no repetition?
Why Duplicate this same question as posted here how to do replace more then one matches? Please check the answers given.