replace()
function and gives you the possibility to search using regular expressions. This gives you significantly more options for analyzing text when searching.replacex(text, regex, replace)
To replace the matches of a given regular expression with "replace" in a given text.replacex(myText, regex, flags, replace)
To replace the matches of a given regular expression with "replace" in a given text. Flags can be added to the regular expression.