How to validate an expression in javascript?

Posted by Kapil123 on Stack Overflow See other posts from Stack Overflow or by Kapil123
Published on 2010-03-09T07:57:39Z Indexed on 2010/03/09 8:06 UTC
Read the original article Hit count: 378

Filed under:

Hi All! I have an expression-- {YYYY}-{MM} I have a textbox in that i will take input from user. User must input in above format for eample, {2010}-{03} or {10}-{3} or {2010}-{3} How to validate this using Java script

Please help me to solve this.

Thank You

© Stack Overflow or respective owner

Related posts about JavaScript