Am trying to allow and print only numeric characters.
To this effect, I have reference solution found here which uses 
str.gsub("/some regex/", '') 
method but cannot get it to work.
source
here is the code
 mystring= 'Food1248is read 100'
    result = mystring.gsub("[^0-9]", '')
    print(result)
I need to only get the numbers from the string variable above
 
     
     
     
    