Validate topic fixes

* Fix the length for topics
* Clearer regular expression