Could you also describe your solution in short text or screenshot?
Only attaching a solution file does not provide details to other forum members regarding the approach you used. Doing this will also avoid forum members duplicating the same approach in their posts.
(From el In toolNumber Where configJson("patterns").AsEnumerable().Any(Function(x) el.Contains(x.ToString)) Select el).ToList
what this line means is:
take all the elements from toolNumber ( From el In toolNumber [...] Select el )
which match any elements in configJson ( Where configJson("patterns").AsEnumerable().Any(Function(x) el.Contains(x.ToString)) ). el is an element in toolNumber, whereas x is an element in configJson. To check the matches I used .Any method. It determines whether any element of a sequence exists or satisfies a condition. Please see the documentation here: