Menu
I am trying to setup regular expression that allows only alphas, digits and if ‘_v’ is typed it should follow by a number and nothing else. I tried this:
[code=php]regex = new RegExp(“[a-zA-Z0-9]+’_v'[0-9]”, “i”);
But doesn’t seem to work.
Any help is appreciated,
webtekie