export const findAndReplaceSpecialSymbols = (text?: string) => {
  if (!text) return "";
  const textToReplace = _isArray(text) ? text[0] : text;

  const pattern = /{{(.*?)}}/g;
  return textToReplace.replace(
    pattern,
    '<span>$1</span>'
  );
};