http://www.perlmonks.org?node_id=450043


in reply to UK postcode regex

Unless you're golfing why not do this as three readable and maintainable regexes rather than one monolithic and messy thing?