Regex Find The First Occurrence Of A Pattern Python