Regex one letter or another

前端 未结 0 1826
情书的邮戳
情书的邮戳 2020-11-29 04:17

i\'m trying to accomplish regex accepting words with A,B,C and D but not C and D at the same time. Here\'s what i got:

^[ABC]+$|^[ABD]+$

Is there

相关标签:
回答
  • 消灭零回复
提交回复
热议问题