Apr 20th, 2010, 8:26 PM
Hi Bert,
Ah, sorry I didn't realize you needed to cover all those cases.
In that case, I'd open it up to allow any sequence of characters 1-4 digits long that contain those characters (0-9 & ,). Try this:
- Ben
Ah, sorry I didn't realize you needed to cover all those cases.
In that case, I'd open it up to allow any sequence of characters 1-4 digits long that contain those characters (0-9 & ,). Try this:
Code:
rules.push("reg_exp,aantal_groen,^\s*[0-9\\,]{1,4}\s*$,i,alleen cijfers en komma!");
- Ben