I need a regular expression to avoid having the same character(@ is the character) twice consecutively but can have them at muliple places. For example:
someword@someword is ok
someword@@someword is not ok
someword@someword@someword is ok too.
So basically this is my existing regular expression /^([a-zA-Z0-9'\-\x80-\xff\*\+ ]+),([a-zA-Z0-9'\-\x80-\xff\*\+\@ ]+)$/
where the first group is the last name and second group is the first name. I have introduced a magical character @ in the first name group which I will replace with a space when saving. The problem is I cannot have consecutive @ symbols.