我需要替换facebook.com
字符串才能像这样facebook[randomstring].com
,例如:facebookabcd.com
原始文本
social media website 1 facebook.com
social media website 2 facebook.com
social media website 3 facebook.com
social media website 4 facebook.com
social media website 5 facebook.com
“预期”输出
social media website 1 facebookabcd.com
social media website 2 facebookefbd.com
social media website 3 facebookiarl.com
social media website 4 facebookmnop.com
social media website 5 facebooksakl.com