I am trying to do the following with regex...
- Only A-Z and 0-9
- Not one character in its own
- Can not be just numbers on their own
- Can be just letters on their own but at least 2 characters
I have this so far http://regex101.com/r/yW1pV8 ...
.*[a-zA-Z]{2,}+.*
This seems to meet my critera except that it doesn't stop me from putting in other charactes such as $ _ ! etc...
Some correct test data is...
579 International Road
International Road
Some incorrect data is...
679
3
$£
A
Where am I going wrong?