I want to find the alphanumeric words in lucene automata regex but not entirely numeric and even not entirely alphabets. I have tried
(([a-zA-Z0-9]{1,10})&(.*[0-9].*))
but this returns all numeric words also So i tried to negate all numeric like below but it does not work
(^[0-9])(([a-zA-Z0-9]{1,10})&(.*[0-9].*))
Input String:
- DL200, dal2 , 700091
Expected output: DL200 and dal2
but it should not return 700091