Forum Discussion
Hogstad_Raadgivning
Aug 12, 2021Iron Contributor
Find 7# digits in a string
Hi, I have text string where I would like et select numbers only from. And i manage to do that. But it find all the numbers, is it possible to only select the numbers when it is 7 digits concaten...
Riny_van_Eekelen
Aug 12, 2021Platinum Contributor
Hogstad_Raadgivning Sounds like you need to get into PowerQuery for this kind of task. The link below explains how you can extract all numbers from a text, using Text.Select. Once that is done, you can check if the length of the string with numbers is at least 7 characters long and, if so, extract the 7 right-most characters.