sed :Replace whole line when match found

Jun 25, 2017

Here our requirement is to replace a line with our content when a match is found with in the file Our sample file /tmp/file This is line one This is