Lets say you have a URL:
https://youtu.be/fclYmVaORbM
You could use the replace modifier to remove the domain part like this:
{your_url_field:replace find='https://youtu.be/' replace=''}
That should give you a value of “fclYmVaORbM”
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.