input: Write a python function to extract 'name', 'email', and 'age' from a given string using regular expressions.
  assert extract_details('myname=Linda&email=linda@example.com&age=30')==('Linda', 'linda@example.com', '30')
  assert extract_details('myname=JohnDoe&email=johndoe@example.com&age=25')==('JohnDoe', 'johndoe@example.com', '25')
  assert extract_details('myname=JaneSmith&email=janesmith@example.com&age=40')==('JaneSmith', 'janesmith@example.com', '40')
output: def extract_details(s):
      import re
      name = re.search(r'myname=([^&]+)', s).group(1)
      email = re.search(r'email=([^&]+)', s).group(1)
      age = re.search(r'age=([^&]+)', s).group(1)
      return name, email, age