<?php $path = '/srv/project/etc/view/my.twig'; $path = preg_replace('#\/\w+\.twig#','',$path); echo $path;
You have javascript disabled. You will not be able to edit any code.