Hi Guys,
This is probably a very basic question. I have an array (@a) that contains elements that are strings with text and numbers. I have another array (@b) containing just numbers. I want to search through each element in @a and if the element has any of the numbers from @b in it I want to push the element into a third array. I've tried using regular expressions with loops and I've tried grep but cannot get it to work. Any suggestions?