I want to find just numbers in textfile so I made this code
r"[+-]? *(?:\\d+(?:\\.\\d*)?|\\.\\d+)(?:[eE][+-]?\\d+)?"
but I also get