Trying to get data between two text elements

hey legends, looking to get some help - im trying to get some data formated from another type - i am getting back: /title/tt10934944/ - and am just trying to get tt10934944 - is there an easy way to do this?

Hey @Ben_Collier,

It depends a bit on how the data varies between different items, but this solution should be fairly generalized:

CleanShot 2022-08-08 at 11.38.25

{{last(split("/title/tt10934944/"; "/"))}}

So it’s splitting the string for each / in the text, and then getting the last item. Obviously replace the hard coded “/title/tt10934944/” with the correct variable.

Hope this was helpful!

2 Likes

This is awesome, thanks heaps Noah!

2 Likes