I have an array that I extract an ID using a regex. Sometimes this arrays brings duplicated IDs, so I have to filter only one of them to continue my scenario. Any ideas how can I do this?
Each time de regex extracts the ID one by one from the lines on the array, after that, I cannot repeat any duplicated IDs.