第 12 屆 iThome 鐵人賽
分享至
此文將介紹Python RegEx。
#載入re函式庫 import re txt = "Allen was born in Miaoli." x = re.findall("ao", txt) print(x)
IT邦幫忙