I need a code to get this strings from inside a href tag
Example of weburl:
/video/funny-videos-with-dogs-21608674/
The strings what i need is:
Url Title = funny-videos-with-dogs
Url ID = 21608674
How i can get this 2 strings from the url via preg_match?
Update:
What i try so far is:
preg_match('/\/video\/(.*?)-/is', $vUrl, $vUrl_Title);
but is show me just "funny" ... i need something to can show "funny-videos-with-dogs"