<?php preg_match( '/(\d+)/', '<span>0</span>', $matches); echo $matches[0]; // 1234
You have javascript disabled. You will not be able to edit any code.