5 Replies Latest reply on Dec 20, 2006 1:03 AM by DazFaz

    How do I validate a postal code format?

      I am trying to use actionscript check a string to see if it is in a valid Canadian postal code <b>format</b> (ie. M5R1X2).

      The format is 6 characters and is always Letter,Number,Letter,Number,Letter,Number.

      Can anyone help me check each character in a string to see it they are numbers or letters?

      Any help would be appreciated.