title: How to get the text after grep regex match?
body: <p>I am new to bash and I want to make a script which will be translating words to another languages. I have a dictionary file in which I have sentences like <em>Rower pte Bicycle</em>. Every sentence has another line. What I try to do is to find a match using grep:</p>
  
  <pre><code>if eval 'nohup grep "'$arg1' '$arg2' [A-Za-z]\+" /tmp/dict.txt &gt; /dev/null'; then
      echo 'found match'
  else 
  </code></pre>
  
  <p>I am getting a <em>found match</em> response, but I need the word (or string) after the match (arg1 is Rower and arg2 is pte). I want to get <em>Bicycle</em> and put it into script variable.</p>
  
  <p>I also have a problem with some regex I have found on stack. It looks like this:</p>
  
  <pre><code>sed -n -e 's!.*en.wikipedia.org/wiki/\(.*\)" title.*!\1!p'
  </code></pre>
  
  <p>Can anyone explain me this regex code or provide the schema of decripting it?</p>
  
  <p>Thanks in advance!</p>