<?php $string = "/companies/(\d+)/adverts/new/generic"; $replace = array(2223); $result = vsprintf($string, $replace); var_dump($result);
You have javascript disabled. You will not be able to edit any code.