<?php $s = "i want to show you my youtube channel : [youtube id=12341234] and my instagram account : [instagram id=myingaccount213]"; preg_match_all("~\h*(.*?\[[^][]*])~", $s, $matches); print_r($matches[1]);
You have javascript disabled. You will not be able to edit any code.