You've got a bunch of textual data with embedded phone numbers. Write a function `area_code()` that finds and returns just the area code portion of the phone number.
```python
>>> message = "The supplier's phone number is (555) 867-5309"
>>> area_code(message)
'555'
```
The returned area code should be a string, not a number.
Every phone number is formatted like in the example, and the only non-alphanumeric characters in the string are apostrophes `'` or the punctuation used in the phone number.

Difficulty: introductory

Starter code:

def area_code(text):
	

Solutions:
def area_code(text):
    return text[text.find("(")+1:text.find(")")]

import re
def area_code(text):
    return re.search("\((\d{3})\)", text).group(1)

def area_code(text):
  return text[text.index('(')+1:text.index(')')]

def area_code(text):
    # Your code goes here
    area = text.find('(')
    return text[area+1:area+4]

def area_code(text):
    return text.split('(')[1].split(')')[0]

def area_code(text):
    parenth1 = text.find('(')
    parenth2 = text.find(')')
    return text[parenth1+1:parenth2]

import re

def area_code(message):
    return re.search(r'\((\d{3})\)', message).group(1)

import re

def area_code(text):
    ac = re.search('\((\d{3})\)\s\d{3}\-\d{4}', text)
    return ac.group(1)

import re

def area_code(text):
    return re.search(r'\((\d{3})\)',text).group(1)

import re
def area_code(text):
    return re.search(r'\((.*)\)',text).group(1)