only_words

only_words(text)

Only Numbers

Parameters

text: str Text selected to apply transformation

Examples:

sentence="the world population has grown from 1650 million to 6000 million"
only_numbers(sentence)
    >>> '1650 6000'