in reply to Regex Exercise

The problem is &nbsp{3} matches the string "&nbsppp", not "&nbsp&nbsp&nbsp".

japhy -- Perl and Regex Hacker