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>