[Solved] Remove random string between two string android [closed]


You can use String#replaceAll() for this:

String cleanPage = wikiPage.replaceAll("\\[a href=.*?\\]", ""));

1

solved Remove random string between two string android [closed]