How to Search and Replace in Bash easily using sed

Here are the best examples of how to use sed utility to search and replace. These examples explain how to replace a string with your choice.