<?php $bbs = 'bbs/'; echo preg_replace('/^' . $bbs . '/i', '', 'bbs/1123/sadfas/'); ?>
You have javascript disabled. You will not be able to edit any code.