<?php $re = '/\bSTRING:\h+"\K[\w-]+(?=")/'; $str = '[TIMETRA-VRTR-MIB::vRtrIfName.22.178] => STRING: "interface900" '; preg_match_all($re, $str, $matches); print_r ($matches[0]);
You have javascript disabled. You will not be able to edit any code.