<?php $str = 'thisip4:isatextexample&ineed.thistext&TXT:&andthis.idontneed&txt:&test.thistext&'; if (preg_match_all('~&([^&]*?thistext[^&]*)&~', $str, $m)) { print_r($m[1]); }
You have javascript disabled. You will not be able to edit any code.