- * Replaces text in a string, using an object that supports replacement within a string.\r
- * @param searchValue A object can search for and replace matches within a string.\r
- * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.\r
+ * Replaces first match with string or all matches with RegExp.\r
+ * @param searchValue A string or RegExp search value.\r
+ * @param replaceValue A string containing the text to replace for match.\r