gpt4 book ai didi

c# - 如何使用正则表达式验证字符串至少包含 6 个不同的数字?

转载 作者:行者123 更新时间:2023-11-30 13:37:08 25 4
gpt4 key购买 nike

<分区>

我正在尝试获取一个正则表达式来检查以确保提供的整数长度为 9 位数字并且至少应包含 6 位非重复数字

例子:

123456123 ------> Matches (6 different digits)
123243521 ------> Does not match (5 different digits)

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com