PHPize Online / SQLize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
Copy Clear
Copy Format Clear
<?php $string = "/home/bitrix/ext_www/vm.dev.crm.mts.ru/local/php_interface/scripts"; $pattern = '#(?<=^/home/bitrix/ext_www/)[^/]+#'; if (preg_match($pattern, $string, $matches)) { echo $matches[0]; }
Show:  
Copy Clear