我需要一个正则表达式测试,它将测试4位数的字段,确保4位数中的至少一个非零.例:
abcd0000efgh - fail abcd0001efgh - pass abcd0010efgh - pass abcd0100efgh - pass abcd1000efgh - pass abcd1234efgh - pass abcd4321efgh - pass
谢谢
regex
regex ×1