結果 : extracting a substring from a string in python