s = "1234Bananas"
s = re.sub(r"\d", "", s)
I know this will select the digits 1234
, but what does the lowercase r
stands for and do?
re.sub(**r**"\d", "", s)
s = "1234Bananas"
s = re.sub(r"\d", "", s)
I know this will select the digits 1234
, but what does the lowercase r
stands for and do?
re.sub(**r**"\d", "", s)