Title: [Plugin: WordPress Form Manager] TEXT VALIDATION &#8211; regular expression for exactly 6 alpha-numeric ch
Last modified: August 20, 2016

---

# [Plugin: WordPress Form Manager] TEXT VALIDATION – regular expression for exactly 6 alpha-numeric ch

 *  [steeephen](https://wordpress.org/support/users/steeephen/)
 * (@steeephen)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-text-validation-regular-expression-for-exactly-6-alpha-numeric-characters/)
 * Hi, I’m trying to create a new text validator. I need exactly 6 alpha numeric
   characters. I already have ‘max-characters’ set to 6 in my form settings but 
   this allows less than 6.
 * I’ve tried
 *     ```
       /^\[a-zA-Z0-9]$/
       /^\[a-zA-Z0-9]{6}$/
       /^\[a-zA-Z0-9]{6,6}$/
       ```
   
 * which have all been accepted as correct regex codes, but each one gives me my
   error message. Any ideas? Thanks.
 * [http://wordpress.org/extend/plugins/wordpress-form-manager/](http://wordpress.org/extend/plugins/wordpress-form-manager/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * (@hoffcamp)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-text-validation-regular-expression-for-exactly-6-alpha-numeric-characters/#post-2419790)
 * You don’t need to escape the first square bracket.

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: WordPress Form Manager] TEXT VALIDATION – regular expression
for exactly 6 alpha-numeric ch’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wordpress-form-manager.svg)
 * [Form Manager](https://wordpress.org/plugins/wordpress-form-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-form-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-form-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-form-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-form-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-form-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [hoffcamp](https://wordpress.org/support/users/hoffcamp/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-wordpress-form-manager-text-validation-regular-expression-for-exactly-6-alpha-numeric-characters/#post-2419790)
 * Status: not resolved