title: How to remove this url from string?
body: <p>I have the following string:</p>
  
  <pre><code>String description= errex for Screen Share 
  https://ednovo.webex.com/ednovo/j.php?ED=224466857&amp;UID=1465621292&amp;RT=MiM0
  You can find the meeting notes here https://docs.yahoo.com/a/filter.org/document/d/1Luf_6Q73_Lm30t3x6wHS_4Ztkn7HfXDg4sZZWz-CuVw/edit?usp=sharing
  </code></pre>
  
  <p>I want to remove the url link and end up with this:</p>
  
  <pre><code>String description=errex for Screen Share You can find the meeting notes here 
  </code></pre>
  
  <p>I tried the following code but it is not detecting the URL:</p>
  
  <pre><code>private String removeUrl(String commentstr)
      {
          String commentstr1=commentstr;
          String urlPattern = "((https?|ftp|gopher|telnet|file|Unsure|http):((//)|(\\\\))+[\\w\\d:#@%/;$()~_?\\+-=\\\\\\.&amp;]*)";
          Pattern p = Pattern.compile(urlPattern,Pattern.CASE_INSENSITIVE);
          Matcher m = p.matcher(commentstr1);
          int i=0;
          while (m.find()) {
              commentstr1=commentstr1.replaceAll(m.group(i),"").trim();
              i++;
          }
          System.out.println("After url filter" +commentstr1);
  
          return commentstr1;
      }
  </code></pre>
  
  <p>What is wrong here?</p>