RegExp.source
|
|
The source property represents the text being used for pattern matching. |
<html> <body> <script language="JavaScript"> <!-- exp = new RegExp("is", "g"); str = "This is a test"; myArray = exp.exec(str);
document.write("The source is: " + "<b>" + exp.source + "</b>"); --> </script> </body> </html>
|
|
|
HTML code for linking to this page:
Related in same category :
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
|
|