过滤相似字符的正则表达式
Regular expression for filtering similar characters
我正在尝试构造一个正则表达式来实现以下限制:
The value may be of any length, but may not contain similar letters/numbers which may cause confusion when printed. E.g., 1 (the numeric), I (an upper-case Latin i) and l ( a lower case Latin L) look similar; there may be other such examples
我已经尝试了一些方法但无法正常工作,非常感谢任何帮助:谢谢。
例如:我可以有 Linux1
但没有 LINUX1
或 linux1
我正在尝试构造一个正则表达式来实现以下限制:
The value may be of any length, but may not contain similar letters/numbers which may cause confusion when printed. E.g., 1 (the numeric), I (an upper-case Latin i) and l ( a lower case Latin L) look similar; there may be other such examples
我已经尝试了一些方法但无法正常工作,非常感谢任何帮助:谢谢。
例如:我可以有 Linux1
但没有 LINUX1
或 linux1