Currently i have this regex:
(?:\d+[A-Z]|[A-Z]+\d)[A-Z-\d]{6,}|[0-A9-Z]{6,}|[0-9]{6,}
I want this regex to match any "string" in a paragraph that is:
Uppercase alphabets with numbers and min length 6
Uppercase alphabets with numbers with hyphen and min length 6
Only numbers with min length 6.
This regex above works, however it still matches only alphabets and i want to exclude this how?
A1A1A1A1A1A1A1A1 --> should match
12222222222222DE --> should match
'PRODUKT', 'PRODUKT', 'NICKNAME', 'PRODUKTNAME' --> shouldn't match any of this but its matching
123456 --> should match
6203-5458 --> shouldn't match
234SS-4NNNAA --> should match