fork download
  1. a="1.1G;1.2 G;1.435 G;1.1 G;1.5555G"
  2. stringr::str_extract_all(a, "\\d+(?:\\.\\d+)?(?=\\s*G\\b)")
Success #stdin #stdout 0.28s 42252KB
stdin
Standard input is empty
stdout
[[1]]
[1] "1.1"    "1.2"    "1.435"  "1.1"    "1.5555"