<?php $str = 'engine/plugins/renderer_smarty/plugins/css_minify/';preg_match_all('@(?<=/)plugins/([^/]+)@i', $str, $matches);print_r($matches);
Standard input is empty
Array ( [0] => Array ( [0] => plugins/renderer_smarty [1] => plugins/css_minify ) [1] => Array ( [0] => renderer_smarty [1] => css_minify ) )
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!