Write a Python program to match a given pattern in a given string.
String: "ABCDDEFG" 
Pattern: "AB*EFG"
import re

string = "ABCDDEFG"
pattern = "AB*EFG"
match = re.search(pattern, string)
 
if match:
    print("Pattern found!")
else:
    print("Pattern not found!")