title: Extract string from a text file using 2 delimiters
body: <p>I'm trying to extract a string from a text file using 2 delimiters. One to start and one to stop.</p>
  
  <p>Example:</p>
  
  <pre><code>Hi my name is$John and I'm happy/today
  </code></pre>
  
  <p>What I need to do is to call a function that would return the string between <code>$</code> and <code>/</code>. I've been looking everywhere but I can't seem to find something useful and I'm new to programming.</p>