Forum Discussion
Extracting digits from a text string
Hi,
I'm searching for a best-practice method to solve the following problem. I'm trying to extract a 5/6 length digit from the following text string.
I want to extract the 6 length digits from the page column for each unique URL and return the result in the VacancyId column.
There are a lot of different url structures in the Page column.
Is there a best-practice approach for this?
HI Anonymous
I believe the post got duplicated.
Try my solution in the post below
3 Replies
- Zubair_MuhammadCommunity Champion
If these are the only numbers in the string, you can add new custom column as
=Text.Select([Page], {0..9})- AnonymousNot applicable
Hi Zubair,
Thank you very much, that's very helpfull. :)
Unfortunately these are not the only numbers in the string.
The other strings look like this;
Is there a best-practice way to solve this?- Zubair_MuhammadCommunity Champion
HI Anonymous
I believe the post got duplicated.
Try my solution in the post below