This discussion is archived
8 Replies Latest reply: Jul 13, 2010 6:11 AM by Marwim RSS

Regexp: Find consecutive special characters

Marwim Expert
Currently Being Moderated

I have to verify names according to strict rules and most of them I could solve using regular expressions. Now there is one I cannot solve with a single expression:

"Multiple identical special characters must not be consecutive"

Special characters would be considered äöüß or any character with an accent like é.
This means that "Käßmann" is allowed because äß are two different special characters but not "Käämann".



  • Correct Answers - 10 points
  • Helpful Answers - 5 points