I have an extremely long string that I want to parse for a numeric value that occurs after the substring \"ISBN\". However, this grouping of 13 digits can be arranged differ
Use this pattern:
Pattern.compile("(?:\\d-?){13}")
and strip all dashes from the found isbn number