正则表达式

image

re.findall(‘[\d]’,’skldk1,2,3”)

[‘1’,’2,’,’3’]

re.split(“[bc]”,”abcde”)

image

发表回复