Replace some unnecessary String.prototype.search
usage
#15458
Merged
String.prototype.search
usage
#15458