sometimes there is a clear dictionary / set of tuples that we want to replace
like str.replace(/\bwith\b/g, ',').replace(/\band\b/, ',').replace(/\bincluding\b/, ',')...
lets make it easier to import a list to make it easier to import and replace the list.
like replaceList = [[/\bwith\b/, ','], [' and ', ',']];
utils.format.replaceStrings(str, replaceList);
sometimes there is a clear dictionary / set of tuples that we want to replace like str.replace(/\bwith\b/g, ',').replace(/\band\b/, ',').replace(/\bincluding\b/, ',')...
lets make it easier to import a list to make it easier to import and replace the list.
like replaceList = [[/\bwith\b/, ','], [' and ', ',']]; utils.format.replaceStrings(str, replaceList);