title: Split a string of one side letters, one side numbers
body: <p>I’m having a mind blank on this one. I am receiving strings of the format..
  AB1234
  ABC1234
  ABC123
  AB12
  etc etc. Essentially, flight numbers</p>
  
  <p>They could have one or two letters and anything from 1 to 5 numbers. I want to split the string so that I end up with two strings, one with the numbers and one with the letters. </p>
  
  <p>Any ideas? I’ve looked through these but can’t see one that would do the job
  <a href="https://www.dotnetperls.com/split-go" rel="nofollow noreferrer">https://www.dotnetperls.com/split-go</a></p>
  
  <p>Update:</p>
  
  <p>Just found and will use this unless there’s a better option. Delete all letters / numbers to create the strings needed <a href="https://golangcode.com/how-to-remove-all-non-alphanumerical-characters-from-a-string/" rel="nofollow noreferrer">https://golangcode.com/how-to-remove-all-non-alphanumerical-characters-from-a-string/</a></p>