title: How to extract a url from a string in Java?
body: <p>I have a string containing a short-code which looks like the one below:</p>
  
  <pre><code>some text...
  [video url="http://www.example.com/path/to/my/video.ext"]
  ...some more text...
  </code></pre>
  
  <p>I want to be able to first check if the string contains that short-code and second extract the URL from it in Java (specifically Android).</p>