XF 1.5 Old url 301 to xenforo url

#1
hi,
i use old url from a phpbb2 forum and i want to 301 to xenforo

old url
xttp://xxx.mysitexx.com/forum/thread title-vt2871.html

new xenforo url
xttps://xxx.mysitexx.com/thread/2871/

how can i extract the id from url (number)
thank you for your help
ps i use nginx
 
Top