Crew algemeen |
|
Probeer eens PHP.net: preg_match:
$data = 'aaaa[whe]bbbbb[/whe]cccc';
if (preg_match('/\[whe\](.*?)\[\/whe\]/is', $data, $match)) {
echo $match[1];
}
$data = 'aaaa[whe]bbbbb[/whe]cccc'; if (preg_match('/\[whe\](.*?)\[\/whe\]/is', $data, $match)) { }
|