3 Replies Latest reply on Nov 15, 2012 10:44 AM by kdario

    Validate through Reg Expression

    Sahar Hassan

      I have following requirement to be achieved through reg expressions.
      Need to write a boolean method which takes a String parameter that should satisfy following conditions.

      o 20 character length string.
      o First 9 characters will be a number
      o Next 2 characters will be alphabets
      o Next 2 characters will be a number.(1 to 31 or 99)
      o Next 1 character will be an alphabet
      o Last 6 characters will be a number.