<?php $str = 'foobar: 2008'; preg_match('/(?P<name>\w+): (?P<zahl>\d+)/', $str, $treffer); print_r($treffer); ?>
You have javascript disabled. You will not be able to edit any code.