<?php $re = '~(?=(/\d+/))~m'; $str = 'https://somesite.com/0/posts/20/290/755653-Title.html'; preg_match_all($re, $str, $matches); print_r($matches[1]);
You have javascript disabled. You will not be able to edit any code.