This function takes a string and strips away (removes) all characters that are not digits. If the string contain no digits at all then a value of null is returned.
The special case of a null-string will give a return value of null.
The string with all non digits removed.