title: Extracting specific values for a header in different lines using regex
body: <p>I have text string which has multiple lines and each line has mix of characters/numbers and spaces etc. </p>
  
  <p>Here is how a couple lines look like:</p>
  
  <pre><code>WEIGHT                         VOLUME                    CHARGEABLE                PACKAGES\n                                                             
  398.000 KG                     4.999 M3                  833.500 KG                12 PLT\n                                                                                         
  MAWB                                    HAWB\n    / MH616 /                                                                                         
  8947806753                             ABC20018830\n  
  </code></pre>
  
  <p>Output I am looking for is to extract the above headers as keys and their values as values of a dict. </p>
  
  <pre><code>{ 
   "WEIGHT": 398.00 KG, 
   "VOLUME" : 4.99 M3,
   "CHAREGABLE" : 833.500 KG,
   "PACKAGES": 12 PLT,
   "MAWB"  : 8947806753,
   "HAWB"  : ABC20018830
  } 
  </code></pre>
  
  <p>I am not sure how to fetch the value for a particular field from a different line under it. If its in same line I can fetch using a pattern. But not sure how to fetch it from a different line (the value of the field is directly underneath it in a different line). </p>