Bash has built-in substitution. For simple tasks it’s easier than piping through sed:
Be aware that just the first word is changed:
To change all instances of a world, prepend the search pattern with another slash:
Notice there are two slashes before hello, one as the separator and one prepending it.