Extracting part of URL as a parameter

Can anyone help me with extracting a part of a URL and saving it as a paremeter?

Url looks like this: https://www.blahblah.com/123456/blah/789

What i’m looking for is extracting the end number (789 in above example) and saving it into a parameter.

Get current URL action takes the whole url, but i need to trim just the end.

Thank you in advance.

have you tried string manipulation ? String Utils Addon - TestProject Documentation

Thanks for the reply. I managed to extract the number value via regex after extracting the url from within one of the links in the web page.