title: Android Studio: Regex not working
body: <p>I migrated my project from Eclipse to Android Studio and everything worked fine. In this project I have a Regex which should find all image urls in a json-object I get from an API.</p>
  
  <p>This is the Regex I have:</p>
  
  <pre><code>Pattern pattern = Pattern.compile("https?:\\/\\/[^\"]*?\\.(png|jpe?g|img)");
  
              Matcher matcher = pattern.matcher(obj.toString());
              while(matcher.find()) {
                  ImageBackgroundFetcher.getInstance(mActivity).addImageToLoadingQueue(matcher.group());
              }
  </code></pre>
  
  <p>obj is the JSONObject I have with the image urls. It looks like the following and I would like to extract the url of the image (the bold marked part)
  {"image":"<strong>http:\/\/www.test.de\/media\/2015\/01\/16\/bildtitel.jpg</strong>"}</p>
  
  <p>After I migrate the project from Eclipse to Android Studio this Regex isn't working any longer. The matcher.find()-Method did not return true and Android Studio gives me a warning in the code at the regex part <em>"\\/\\/"</em> where it says "redundant character escape"</p>
  
  <p>I already googled but didn't find a solution. Any ideas how to solve the problem would be great, thanks in advance ;)</p>