How to find specific things in a string
===

I am trying to find things in a string all of them are before a number, for example.


"Diablo Lord Of Destruction 9.2"


this is an index from a file such that file[2] = "Diablo Lord Of Destruction 9.2"

how can I make an exception that will select only the text and leave out the numbers.

I understand you can easily do this by doing something like

    contents = file[2]
    print contents[0:-2]

but since the values will be changing I want to use something that will use the exception of the numbers no matter how long the string or how many spaces it may have.