Title: Case sensitivity
Last modified: November 23, 2016

---

# Case sensitivity

 *  Resolved [Andrei G.](https://wordpress.org/support/users/27shutterclicks/)
 * (@27shutterclicks)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/case-sensitivity-5/)
 * Hi,
 * I am using the pattern:
 * `^([a-z]{3,})+[0-9]*$`
 * to force something like: “username123”
 * Basically, I want to ensure that the letters are all lowercase.
 * It seems however, that the above pattern DOES allow uppercase letters. So something
   like “USERNAME123” is accepted, when it shouldn’t (if I understand regex patterns
   correctly).
 * Is this intentional coding in the plugin or what can I change to enforce case
   sensitivity?
 * Thanks.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Daman Jeet](https://wordpress.org/support/users/djeet/)
 * (@djeet)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/case-sensitivity-5/#post-8477516)
 * Hi Andrei,
 * You would have to use modifier “/g” along with regex to get results , so your
   new regex would be:
 * /^([a-z]{3,})+[0-9]*$/g
 * However plugin does not support other modifiers except “/i” . I will push a new
   update in next 24 hrs which will take care of that .
 * Thanks
    Jeet
 *  Plugin Author [Daman Jeet](https://wordpress.org/support/users/djeet/)
 * (@djeet)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/case-sensitivity-5/#post-8480852)
 * Hi Andrei ,
 * New update has been pushed. Please use the same regex `/^([a-z]{3,})+[0-9]*$/`
   and problem shall be fixed.
 * Thanks
    Jeet
 *  Thread Starter [Andrei G.](https://wordpress.org/support/users/27shutterclicks/)
 * (@27shutterclicks)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/case-sensitivity-5/#post-8481156)
 * Hi Jeet,
 * Thank you very much for the speedy response and update of the plugin. Much appreciated.
 *  Plugin Author [Daman Jeet](https://wordpress.org/support/users/djeet/)
 * (@djeet)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/case-sensitivity-5/#post-8487595)
 * Hi Andrei,
 * Happy to know that things have been sorted. Please take a minute to review the
   plugin, and help us spread the word.
 * [https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/reviews/](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/reviews/)
 * Closing this thread.
 * Thanks
    Jeet

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Case sensitivity’ is closed to new replies.

 * ![](https://ps.w.org/real-time-validation-for-gravity-forms/assets/icon-256x256.
   jpg?rev=1472411)
 * [Real Time Validation for Gravity Forms](https://wordpress.org/plugins/real-time-validation-for-gravity-forms/)
 * [Support Threads](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/real-time-validation-for-gravity-forms/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Daman Jeet](https://wordpress.org/support/users/djeet/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/case-sensitivity-5/#post-8487595)
 * Status: resolved