The RegExp.$1,$2,..$9 property represents parenthesized substring matches. Enter your 7 digit phone number in the form xxx-xxxx Phone Number (7 digits): Output: