regex for counting characters

JavaScript
( *?[0-9a-zA-Z] *?){10,}
Source

Also in JavaScript: