A quickie regarding UK postcode (zip) validation... Is it possible to do the following 3 transformations in one regex or am I asking too much !
1.Insert a space before the last 3 characters if there isn't one there already.
2.If the first character of the second part (3 characters as above) is a letter O, swap this to a zero.(this is a very common error)
3.
the whole thing.