我在使用python時遇到了問題。grep前綴python字符串
我有一個文本,例如:
the name of 33e4853h45y45 is one of the 33e445a64b65 and we want all the 33e5c44598e46 to be matched
所以我想找到的文本的字母數字串的所有出現。事情是我知道他們都有「33e」前綴。
現在,我有strings = re.findall(r"(33e+)+", stdout_value)
但它不起作用。 我希望能夠回到33e445a64b65, 33e5c44598e46
33e4853h45y45有什麼問題? – Abhijit