input: Write a python function to get the top 10 most common words in a string.
  assert get_top_words('apple orange banana apple orange apple')==[('apple', 3), ('orange', 2), ('banana', 1)]
  assert get_top_words('This is a test. This test is only a test.')==[('test', 3), ('this', 2), ('is', 2), ('a', 2), ('only', 1)]
  assert get_top_words('One fish, two fish, red fish, blue fish.')==[('fish', 4), ('one', 1), ('two', 1), ('red', 1), ('blue', 1)]
output: def get_top_words(text):
      from collections import Counter
      import re
  
      # Remove punctuation and convert to lowercase
      words = re.findall(r'\b\w+\b', text.lower())
      
      # Count the frequency of each word
      word_counts = Counter(words)
      
      # Get the 10 most common words
      top_words = word_counts.most_common(10)
      
      return top_words