input: Write a function to get the most common words in a list of texts and their frequencies.
  assert get_most_common_words(["This is a test.", "This is another test.", "This is a different test."]) == [('This', 3), ('is', 3), ('a', 2)]
  assert get_most_common_words(["hello world", "hello", "world world world"]) == [('world', 4), ('hello', 2)]
  assert get_most_common_words(["one fish two fish red fish blue fish"]) == [('fish', 4), ('one', 1), ('two', 1)]
output: def get_most_common_words(texts):
      from collections import Counter
      import re
  
      # Combine all texts into one string
      combined_text = " ".join(texts)
      
      # Use regex to find all words
      words = re.findall(r'\b\w+\b', combined_text)
      
      # Count the frequency of each word
      word_counts = Counter(words)
      
      # Get the most common words and their frequencies
      most_common_words = word_counts.most_common()
  
      return most_common_words