Negative lookbehind not working as expected.How to prevent second group from capturing the string?

后端 未结 0 1640
死守一世寂寞
死守一世寂寞 2020-12-11 00:40

I want to reject strings that start with "BT"(uppercase and lowercase included) eg-BT444CC

Original regex- ^([Gg][Ii][Rr] 0[Aa]{2})|((([A-Za-z][0-9]{1,2})|

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