@Override
    @Nullable
    public String getGeocodeFromUrl(@NonNull final String url) {
        // coord.info URLs
        final String coordinfoUrl = TextUtils.getMatch(url, Pattern.compile("coord.info/" + GCConstants.GEOCODE_PATTERN, Pattern.CASE_INSENSITIVE), false, "");
        if (canHandle(coordinfoUrl)) {
            return coordinfoUrl;
        }
        // expanded geocaching.com URLs
        final String geocachingcomUrl = TextUtils.getMatch(url, Pattern.compile("geocaching.com/geocache/" + GCConstants.GEOCODE_PATTERN, Pattern.CASE_INSENSITIVE), false, "");
        if (canHandle(geocachingcomUrl)) {
            return geocachingcomUrl;
        }
        return null;
    }
Remove a cache from the favorites list.
<br>
This must not be called from the UI thread.

@param cache the cache to add
@return {@code true} if the cache was successfully added, {@code false} otherwise
main/src/main/java/cgeo/geocaching/connector/gc/GCConnector.java