2 words matching regular expressions inequality

2 words matching regular expressions  inequality