Hi, Can anybody tell me how and with which regular expression i can extract the sector code from a uk based post code... Any regular expression for it?
the sector code, according to Royal Mail is simply the numerical part of the 2nd 1/2 of the post code. Given the 2nd half is always 3 characters long (1 number and 2 letters) simply count the 3rd character in from the right.