Find and Replace Linux Command

Find and Replace Linux Command
grep -rl "search_word" vendor/* -R | xargs sed -i 's/search_word/replace_word/g'