| lastParen The lastParen property is a property of the RegExp object, which is used in pattern matching. The lastParen property represents the last parenthesized string match found by the given RegExp search string. That is, it returns the string value of the last parenthesized string. syntax: RegExp.lastParen EXAMPLE regExpSearch = new RegExp("(this)"); stringToSearch = "The (this) is the string to be searched."; regExpArray = regExpSearch.exec(stringToSearch); document.write("The last value in parentheses is : " +RegExp.lastParen); The example first starts with the creation of a new RegExp object, called regExpSearch. The search is for the word "this" in brackets. Next created is the string to search through, called stringToSearch, with the word "this" in brackets. Next comes another variable which contains the RegExp expression (regExpSearch) and the exec() method, which performs the actual execution of the search. Contained as a condition within the exec() method is the variable representing the string to be searched, stringToSearch. Finally a document.write statement is declared, which uses the lastParen property of the RegExp object to return the last value in parentheses, which is "this". The returned value looks like the following: The value in parentheses is : this |