3 Replies Latest reply: Nov 15, 2012 4:44 AM by kdario RSS

    Validate through Reg Expression

    Sahar Hassan
      Hi,

      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.

      JDev 11.1.1.6.0