API docs: replaceAll function.