In PQ, is it possible to replace specific characters of a text string with a list of values? I would like to replace a wildcard ("*") with a list of possible values to output a list of all possible combinations. For instance, I have a 10-digit account number where a person can input wildcards, like so
12345678**
**12345678
Each of those * characters could be 0-9, so for each of the above lines with there being 2 wildcards, each line becomes 100 possible outcomes
1234567800
1234567801
...
1234567899
I cannot figure out how to do this type of replacement in Power Query but I assume it's possible. My initial thought was to split each line into a list of characters, then replace the * with a list of {0..9}. But it seems that Text.Split requires a delimiter, which I do not have.
Thanks
12345678**
**12345678
Each of those * characters could be 0-9, so for each of the above lines with there being 2 wildcards, each line becomes 100 possible outcomes
1234567800
1234567801
...
1234567899
I cannot figure out how to do this type of replacement in Power Query but I assume it's possible. My initial thought was to split each line into a list of characters, then replace the * with a list of {0..9}. But it seems that Text.Split requires a delimiter, which I do not have.
Thanks
Last edited: