From the two urls
https://twitter.com/realDonaldTrump/status/829684271812067328
https://twitter.com/realDonaldTrump/status/829684271812067328/
I want to extract the String 829684271812067328
in Java.
My attempt was
\\/status\\/([\\d]+)
but this does not allow anything before /status
or after the digits (/
).
Whats the solution to this?