Forum Discussion

Rochejf's avatar
Rochejf
Frequent Visitor
3 years ago
Solved

Extract round figure from Text

I try using code below to extract figure from text, it works on round figure but not on float.   Text.Select([TextColumn], {"0".."9"}) This is my output below. QUANTITY x 4 4 QUANTITY...
  • Ahmedx's avatar
    3 years ago

    pls try this

    List.Select(
      Splitter.SplitTextByAnyDelimiter({",", ".", " "})(
        Text.Select([Column1], {"1" .. "9", ",", ".", " "})
      ), 
      each _ <> ""
    ){0}