title: Find and return a specific area of a text
body: <p>Hello everyone and happy new year! I have a text from which I like to return a specific area from a specific string using a python script!
  This is the text I have</p>
  
  <pre><code>#!/bin/sh
  case "$1" in
  start)
      ulimit -s 1024
      /usr/bin/oscam --config-dir /etc/tuxbox/config/oscam --daemon --pidfile /tmp/oscam.pid --restart 2 --utf8
      ;;
  stop)
      kill `cat /tmp/oscam.pid` 2&gt; /dev/null
      ;;
  restart|reload)
      $0 stop
      sleep 1
      $0 start
      ;;
  version)
      echo "svn8631"
      ;;
  info)
      echo "oscam svn8631"
      ;;
  *)
      echo "Usage: $0 start|stop|restart"
      exit 1
      ;;
  esac
  exit 0
  </code></pre>
  
  <p>from the text above I need to create a python command that always returns only what is written where the <strong>oscam svn8631</strong> is written between the quotes! So far the only thing I managed to do is return another area of this text using this code</p>
  
  <pre><code>try:
      f = open("/etc/init.d/softcam", "r")
      content = f.read()
      f.close()
  except:
      content = ""
  contentInfo = content.split("\n")
  if (content != ""):
      for line in contentInfo:
          if line.__contains__("usr/bin/"):
              idex = line.index("n/")
              line = line[(idex + 2):]
              return line
  </code></pre>
  
  <p>This of course returns what's after the <strong>usr/bin</strong> text, and I need another area which comes after the word <strong>info)</strong>. Can anyone help me please? I don't know how to make my script read this specific area I need! Thanks in advance!</p>