title: Match URL link from input string
body: <p>How do I match the URL address in this string, I have other code that matches text and it seems to work, but when I try to use it here, it doesn't, it keeps saying there is "No such file or directory. I didn't know grep -o only worked on files?</p>
  
  <pre><code>matchString='url={"urlPath":"http://www.google.com/","thisIsOtherText"'
  array=($(grep -o 'url={"urlPath":"([^"]+)"' "$matchString"))
  grep: url={"urlPath":"http://www.google.com/","thisIsOtherStuff": No such file or directory
  </code></pre>
  
  <p>Anyway, could you please help me with matching the URL from in the "matchString" variable (it doesn't have to use grep).</p>
  
  <p>Preferred output: <a href="http://www.google.com/" rel="nofollow noreferrer">http://www.google.com/</a></p>