I have been trying to get this right for awhile with no success and would appreciate some help here. Trying to parse out from the string below:
LethalWeaponFOX/photos/a.1106081639452035.1073741828.1048614701865396/1234456789011112/?type=3
The part I would like to to remove is last two forward slashes:
1234456789011112
pUrl = pUrl.replaceAll("photos\\/.*\\.","");
Appreciate suggestions:
EDIT: Sorry I needed to clarify my output and rephrase question