import rea = "afdsf43rfdg098DGDFG442"r = re.findall("d", a)print(r)未完待续...css xpath 选择器 参照 https://blog.csdn.net/mouday/article/details/80455560