Jquery Validation test for a value -


I want to use jquery validation to validate user input, it's my steam id (talk of an online game) Must be included in one form and I want to validate it, but I do not have any idea how to do this.

Steam ID expression is to like it: STEAM_0: 1: 2131341411

The thing that is needed is: STEAM_0:

Then it's just numbers

Steam: 0: (number 1 or 0): (numbers)

Maximum of 20 characters.

I have tried to do a regex thing to put in the add.method function, but I can not,

Thank you, I hope you understand that What do I mean

Try this regular expression: code> / ^ STEAM_0: (0 | 1 ): [1- 9] {1} [0-9] {0,19} $ /


Comments