If the string starts with either `foo.com` or `bar.me` replace with `baz.co`. Is this the most efficient / concise way?

```
string1.replace('foo.com', 'baz.co').replace('bar.me', 'baz.co')

```

We could have an array of strings: `['foo.com', 'bar.me']`