How to impose username constraint

How do I impose username constraint in a table Field such that every entry must have no spaces, and no special characters?

Hello @Nkekere_Tommy_Minimann

you can use regular expression, here it is the topic described how to do this How to Validate User Properties With Regular Expressions | Backendless