How to parse the area code from a 10 digit telephone number?

How to parse the area code from a 10 digit telephone number and use the area code in grouping reporting? I was using "Contains" to filter the data but the data changed that eliminated the parenthesis uniqueness(area code) in the data.

Answers