code: function replaceWithSurround(text, find, prefix, suffix) {
    const escapedString = escapeRegex(find);
    const re = new RegExp(escapedString, 'gi');
    return text.replace(re, matched => prefix + matched + suffix);
  }
docs: Replace all occurrences of string
  @param text
  @param find
  @param prefix
  @param suffix
  @returns string