As g3kk0 showed Mathematica can easily read this data with Import
.
I saved the data to a file named TableWithText.txt
and placed it in the path given by Directory[]
(which itself can be set with SetDirectory
.)
data = Import["TableWithText.txt", "Table"]
{{"fgdgfdg", "fhdfdh"}, {0.000105533, 0.0001}, {0.222281, 0.0001}, {0.444456,
0.0001}, {0.666631, 0.0001}, {"asdas", "ddfdsfsd"}, {0.111193, 0.166733}, {0.333369,
0.166733}, {"sadsd", "dfffsas"}, {0.777719, 0.166733}}
From there you can strip the individual Strings with:
DeleteCases[data, _String, {-1}]
{{}, {0.000105533, 0.0001}, {0.222281, 0.0001}, {0.444456, 0.0001}, {0.666631,
0.0001}, {}, {0.111193, 0.166733}, {0.333369, 0.166733}, {}, {0.777719, 0.166733}}
Or entire rows that are composed solely of Strings:
DeleteCases[data, {__String}, {-2}]
{{0.000105533, 0.0001}, {0.222281, 0.0001}, {0.444456, 0.0001}, {0.666631,
0.0001}, {0.111193, 0.166733}, {0.333369, 0.166733}, {0.777719, 0.166733}}