Skip to main content
Version: 3.27.2

Symbol.search

The Symbol.search well-known symbol specifies the method that returns the index within a string that matches the regular expression. This function is called by the String.prototype.search() method.

For more information, see RegExp.prototype[Symbol.search]() and String.prototype.search().

Value

The well-known symbol Symbol.search.