echo "I need to try hard" | sed 's/hard/harder/’
Output :-
I need to try harder