RegExp.lastParen

The last parenthesized substring match, if any. $+ is another name for the same property.

Property of RegExp
Static, Read-only

Description

Because lastParen is static, it is not a property of an individual regular expression object. Instead, you always use it as RegExp.lastParen.

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.