How to properly capture a substring

If I have the following strings: "foo-bar-1", "foo-bar-2", "foo-bar-3-4" and I want to capture the values: ["1", "2", "3-4"] how best should I be extracting these value out of the string?

Found my solution:

String(myString.dropFirst("foo-bar".count))