I'm trying to match number of digits in a string. Here is part of my MySql query
    SELECT digits, concat(digits, ' Digits ') as selects, count(*) as count
                    FROM (SELECT (case WHEN `no` REGEXP '[[:<:]][0-9]{1}[[:>:]]' then '1'
                                       WHEN `no` REGEXP '[[:<:]][0-9]{2}[[:>:]]' then '2'
                                       WHEN `no` REGEXP '[[:<:]][0-9]{3}[[:>:]]' then '3'
                                       WHEN `no` REGEXP '[[:<:]][0-9]{4}[[:>:]]' then '4'     
                                  end) AS digits
                          FROM `no_ads` AS a 
.......
.......
problem is in a string like this 4U 2 or 4U 2 a my query will count this as 2 digits when it should count as 1 ([[:<:]][0-9]{1}[[:>:]]). How do i start counting after the 1st space?
 
    