In php, lets say i have 2 Groups of words to match:
Left Group:
Right Group:
From the point of LEFT GROUP (by looping each), how do i write the regex pattern to say the entries inside.. are the similar matches for the entries in the RIGHT GROUP?
I think that there is a better option in this case. There is a function called levenshtein which calculates distance between two strings - the minimal number of characters you have to replace, insert or delete to transform one string into another.
So you can just iterate through your arrays and find closest strings. There is a good example on the man page.