<?php $input =- 'test <span>1234</span><span>12345</span>test<span>5678</span><span>12345</span>test'; print_r(preg_match("/(<span>\d{4}<\/span>)/", $input, $output));
You have javascript disabled. You will not be able to edit any code.