I have strings like:
"Some Test"
"00000.sds*Som'e 'Test'01/234232"
"Some Test'01/234232"
"14"
"12.523232"
"-12.523232"
What is the best way (with some function) in Python to be able to check the content of a string to determine whether it can be casted to a "float(stringvalue)", or if it has to remain a string? The resulting output needs to be:
"Some Test"
"Some Test'01/234232"
"00000.sds*Som'e 'Test'01/234232"
14
12.523232
-12.523232