I have been given the task to remove all non numeric characters including spaces from either a text file or a string and then print the new result, for example:
Before:
sd67637 8
After:
676378
As I am a beginner I do not know where to start with this task.