I have the expression
[A-E]|[A-E]{3}|[A-E]{4}
its made to recognize names of angles (A,B,C,D,E)
or triangles (ABC,BCD)
ect or Rectangles (ABCD,EDCB)
ect
BUT
i want to change the expression so that user CANT input an name with the same letter 2 times, names such AAC or ABAE should not be valid names for a trianlge or rectangle.
I ve seen a regex solution of this type of problem here but cant see how i can do this on flex and cant find a way to solve this on the patterns of flex manual. Any help/guide would be helpful.
thanks