<?php $string = "text/abc word two"; $result = substr( $string, strpos($string, '/') + 1); $result = substr( $result, 0, strpos( $result, 'word')); echo $result;
You have javascript disabled. You will not be able to edit any code.