in reply to Re: UK postcode regex
in thread UK postcode regex

Gilimanjaro: your regex strips the space between segment_one and the last_three, if one exists, whereas OP sought to insert one, if there was no space before \d[A-Za-z]{2}

Replies are listed 'Best First'.
Re^3: UK postcode regex
by Gilimanjaro (Hermit) on Apr 22, 2005 at 18:11 UTC
    You're right! Fixed in an update...