title: Match regex from right to left?
body: <p>Is there any way of matching a regex from right to left? What Im looking for is a regex that gets </p>
  
  <pre><code>MODULE WAS INSERTED              EVENT
  LOST SIGNAL ON E1/T1 LINK        OFF
  CRC ERROR                        EVENT
  CLK IS DIFF FROM MASTER CLK SRC  OF
  </code></pre>
  
  <p>from this input</p>
  
  <pre><code>CLI MUX trap received: (022) CL-B  MCL-2ETH             MODULE WAS INSERTED              EVENT   07-05-2010 12:08:40
  CLI MUX trap received: (090) IO-2  ML-1E1        EX1    LOST SIGNAL ON E1/T1 LINK        OFF     04-06-2010 09:58:58
  CLI MUX trap received: (094) IO-2  ML-1E1        EX1    CRC ERROR                        EVENT   04-06-2010 09:58:59
  CLI MUX trap received: (009)                            CLK IS DIFF FROM MASTER CLK SRC  OFF     07-05-2010 12:07:32
  </code></pre>
  
  <p>If i could have done the matching from right to left I could have written something like everything to right of (EVENT|OFF) until the second appearance of more than one space [  ]+</p>
  
  <p>The best I managed today is to get everything from (022) to EVENT with the regex</p>
  
  <pre><code>CLI MUX trap received: \([0-9]+\)[ ]+(.*[  ]+(EVENT|OFF))
  </code></pre>
  
  <p>But that is not really what I wanted :)</p>
  
  <p>edit: What language its for? Its actually a config string for a filter we have but my guess it is using standard GNU C Regex library.</p>
  
  <p>edit2: I like the answers about cutting by length but Amarghosh was probably more what I was looking for. Do not really know why I did not think about just cutting on length like:</p>
  
  <pre><code>^.{56}(.{39}).*$
  </code></pre>
  
  <p>Super thanks for the quick answers...</p>