also if you put a capture group around the `[0-9]+` in your regex then you could just use `.group(1)` and omit the string replace :)