<?php $re = '/{youtube}(.*){\/youtube}/m'; $str="Life is good {youtube}NgBZrRCPCH8{/youtube} Fun is great! {youtube}joRCPCH8{/youtube} Earth is round and roll {youtube}pwnkfH8{/youtube}"; preg_match_all($re, $str, $matches); print_r($matches);
You have javascript disabled. You will not be able to edit any code.