I would like to extract all urls and "rel" informations associated in this string:
<https://api-staging.xxx.com/v1/users>; rel="self", <https://api-staging.xxx.com/v1/users?page=1,0>; rel="next"
So I've started with:
Pattern mentionPattern = Pattern.compile("<(.+?)>");
Matcher mentionMatcher = mentionPattern.matcher(url);
It works perfectly for URL, but I don't know how to extract "rel" informations. In this example I want to extract "self" and "next".
Thank you very much guys