samedi 27 janvier 2018

how to replace 2 diffrents strings in one url using matcher?

i'am beginner on android , i have an url and i want to replace two strings("/vp/" with "/" ) and ("/s150x150/" with "/s720x720/"..(if it's exist)) in this url using matcher and pattern!

this is my url : cd.com/vp/3070d0210e464e/5AEFB3ED/t51.2885/s150x150/24845474_1790806444289980_66798452736_n.jpg

any help please !

Aucun commentaire:

Enregistrer un commentaire