how can I get a regex that allows only 0000 or spaces, but not both
examples:
- 0000000000000000000 --> OK;
- only spaces --> OK;
- 000000000 0000 --> Not Ok;
- afads0000 00 0fd --> Not Ok;
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…