How to get last number?

You can use segment block to get the text.
Example is here.

You’ll need to specify the the length and start index