title: Format text file on OSX to tab delimited text file
body: <p>I have a file that looks like the following, which is outputted from a program i wrote in applescript.   </p>
  
  <pre><code>AXTitle: Blah
  AXSize: Width: 300
  AXSize: Height: 44
  AXPosition: X: 217
  AXPosition: Y: 170
  AXHelp: Blah
  AXValue: Value, On
  AXEnabled: true
  AXFocused: false
  AXRole: AXStaticText
  AXRoleDescription: Blah
  AXTopLevelUIElement: Blah
  AXWindow: Blah
  </code></pre>
  
  <p>I need to put into a format that will be compatible with a database. So a tab delimited format. This is the format i would like to output it in. I don't need all the data above just what i select</p>
  
  <pre><code>123   456   0   1   2   3   4   5   text   text     
  123   456   0   1   2   3   4   5   text   text  
  </code></pre>
  
  <p>I am thinking regular expressions to format text as i need.
  Can i do this in applescript? If not what programs should i look at considering i am woking on OSX? sed, gawk, perl, python? Can i insert these programs in my applescript program or will i have to run separately? </p>