Thread: email script
Results 1 to 2 of 2
08-04-2005, 06:24 PM #1
Im trying to write a script with the input data being a valid UK postcode (CV44 6HH or BD5 1NH). To validate the postcode do i need a regular expression??
If the postcode is correct i then need to add a format, which are 'U' for uppercase, 'L' for lowercase, 'NS' for no spaces in the output postcode, and 'SP' for a space in the output postcode.
Im really confused how to go about it, is it the best option using if, elsif and else statements?
08-17-2005, 10:39 PM #2
Re: email script
will you define more, i dont understand what you are talking about