У меня есть следующая строка, и я хочу получить число ( 104321 ) из тега href. Как я могу получить это число.
Hello this is testing string <a href=\"/testing/104321\">Ap</a><img src=\"Image Url" width=\"222\" height=\"149\"/><br/><br/>test\u00e4n p\u00e4\u00e4ll\u00e4 test, test\u00e4, test?
Я хочу, чтобы конечный результат был таким.
String[] strExample= {"testing", "104321","test\u00e4n p\u00e4\u00e4ll\u00e4 test, test\u00e4, test?"};
Любая помощь приветствуется.