Apr 26th, 2010, 7:29 AM
(Apr 25th, 2010, 9:11 AM)Ben Wrote: Sorry Bert!! I finally gave up and tried it out myself locally.
THIS one works:
Code:rules.push("reg_exp,aantal_groen,^\s*[0-9\\,]{1\\,4}\s*$,alleen cijfers en komma!");
Now both commas are escaped (can't believe I missed that...!) and the extra "i," bit is removed. I'm not sure why that was there.
Anyway, this looks like it works the way you want.
- Ben
Hi Ben!
At last....I could ( and maybe should) have come up with this solution...But you did! Finally everything works well and as planned!
I want to thank you a lot for all your efforts and your ever so kindly written reactions. It makes the world a better place!
Thanks and have a nice week!
Bert