Please, give me the correct preg_match_all code for the following string:
totals"> Totals: 22 11/6 Daily Average
where I need only the number 6, nothing else. Remember that it could also be a number higher than 6, like 1598.
(I'm actually using the following code that returns the string above:
preg_match_all('/total(.+)verage/si', $conteudo, $conteudo);
Thank you very much.
totals"> Totals: 22 11/6 Daily Average
where I need only the number 6, nothing else. Remember that it could also be a number higher than 6, like 1598.
(I'm actually using the following code that returns the string above:
preg_match_all('/total(.+)verage/si', $conteudo, $conteudo);
Thank you very much.