Compare Files Line Sever

Take a look at the following:

The code lines in yellow (left and right) are not differences of the same line but two different lines one in the left file only and the other in the right only. They are similar at the start but different after the dollar sign ($). I want to be able to force them to be treated as separate lines in the comparison.

Cheers,
Russ