In a macro, use the split function to separate out the elements from both cells then loop through both sets to compare for equality
I won’t bother with the code since the question example is incomplete- what if there is more than one match? Or a partial match e.g. just 05