/

HTML / CSS / JavaScript Tutorial

JavaScript regular expression method: toString()

[this page | pdf | back links]

The toString() method (when applied to a JavaScript regular expression) returns the string value of the regular expression.

 

It has the following syntax with no parameters. It returns a Boolean as above.

 

RegExprObject.toString()

 


NAVIGATION LINKS
Contents | Prev | Next | JavaScript Regular Expressions


Desktop view | Switch to Mobile