I want to cut a html link with php.
The html link is everytime the same pattern
domain.com/forum/members/84564-name.html
I want to get the 84564 from the name. the /forum/members/ is everytime the same. and the "-" after the user-id is also everstime the same. Can you help me to extract the user id?