I am new to java regex. Can you please give a matching pattern for the following requirement. Example: "Apple" or "Google" should not be matched since there are consecutive characters in them. But, words like "Hard2Crack" or "Sometimes" should match.
Your help is appreciated.