Ahmed Nuaman


builder of internets ~ developer of dreams ~ tamer of Dachshunds

Quick UK Post Code Regex

It’s been a while since I wrote anything on here, but here’s a quickie: a simple UK post code regex:

/^([A-z]{2}\d{1,2})\s?(\d{1}[A-z]{2})/

If it doesn’t work for you or you think you can make it better, please stick something in the comments :)

Where have comments gone?

Good question my old fruity. I'm now sticking any post discussions on Google+. Why? Well simply it's better. WordPress's comment system isn't very elegant and nor are ones like Disqus or Livefyre, so to save hassle I've just shipped them off to a social network, like a real boss.

Search

My social skills

Latest blog posts

  • Loading posts...

Subscribe in a reader

Latest tweets

  • Loading tweets...