Programming, Python, Data Science, Dataset, Big Data.
phone number (a string), and uses the compiled regular expression to find all of the numbers. Then we then take matches at positions -10,-9 and -8 using Python's slice syntax and assign them to a variable named area code. These numbers should be our area code. We take the matches at positions -7,