Optional
text: null | stringThe text to inspect
Optional
search: null | string | RegExpThe string or regex to match
Optional
replace: null | stringThe expected replacement string
the string that replaced all occurrences in the given text, case-insensitive
Returns the string that replaced all occurrences in the given text, case-insensitive