Create Regex Pattern Python Program