I am still learning RegEx so I need some help on this one.
Rules are as below:
- Min/Max Length of string: 1-5
- String has to be a whole word
- String can contain: A-Z and/or a-z and/or 0-9 or combination of both only (e.g. _ - . * are not allowed)
Examples:
12345 – allowed
Os342 – allowed
2O3d3 – allowed
3sdfds dsfsdf – not allowed
Sdfdf.sdfdf –now allowed
Thanks.