Extract number sequence

Hello @simonmng

It seems to me that the structure of a JSON file is not standard, the square brackets correlation is missed; besides that, there’s a comma missed in the group separation… the structure should be like this (being aware of quotation type):

[{"rel": "self", "href": "https://.net/api/report/eExecution/12345678"}, { "rel": "self", "href": "https://oup.net/api/ret/cution/12345677"}]

Take a look in this post:

Then a standard JSON extract workflow can be applied. You should check your data gathering process about why this is happening…


20240903_extract number sequence_v00.knwf (10.4 KB)

BR

PS.- Then you can use String Manipulation vs your latest column:

regexReplace($hrefs$, ".*?(\\d+)", "$1")
4 Likes