I\'m trying to come up with a regex that helps me validate a Blood Group field - which should accept only A[+-], B[+-], AB[+-] and O[+-].
Here\'s th
^(A|B|AB|O)[+-]?$ This will produce the correct out put.