title: Random UK registration plate generator
body: <p>I want to create a function that generates a random UK vehicle registration plate (using the structure introduced in 2001) but really don't know where to start.</p>
  
  <p>All plates follow the structure:</p>
  
  <p>[two letters][two digits][3 random letters]</p>
  
  <p>e.g. BD51 SMR</p>
  
  <p>More information on the structure can be found here: <a href="http://goo.gl/jh8Ldi" rel="nofollow">http://goo.gl/jh8Ldi</a></p>
  
  <p>The first two letters represent an area code of which there are a few hundred and it's not as simple as A + A-Z, B + A-Z etc etc. For example A can then be followed by any letter except I, Q and Z, whereas D can only be followed by letters A-K (excluding i).</p>
  
  <p>The two number represent the year of manufacture - I think I'm fine on this one.</p>
  
  <p>The final three letters I can deal with.</p>
  
  <p>Is there anyway of getting the first two letters without having to list all possible outcomes in an array?</p>
  
  <p>Thanks </p>