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 the first occurrence in the given text, case-insensitive
Returns the string that replaced the first occurrence in the given text, case-insensitive