How do I find the index of the numbers 0-9 in a string?
MyString = "Are all the black cats really black 045. I don't think so 098."
MyString.find([0-9])
TypeError: must be str, not list
How do I get around this and replicate what essentially is a PATINDEX in SQL server?. The following answer gives me a perspective of searching using regex but I am still unable to insert lists.