I have a multiline HTML document that I am trying to get some stuff from. I'm using java's regex (I know - XML parsers bla bla bla, just bear with me ...
String s = "/static/201105-3805-somerandom/images/optional-folder/filename.gif";
How can I remove the "static/201105-3805-somerandom/" part?
The "201105-3805-somerandom" part is completely random but always is composed of:
- 6 digits
- the "-" char
- {1, n} digit ...