regexp.getString() function

regexp.getString() returns the source string used to compile a regular expression.

Function type signature
(r: regexp) => string

For more information, see Function type signatures.

Parameters

r

(Required) Regular expression object to convert to a string.


Was this page helpful?

Thank you for your feedback!