Title: Validate with RegEx
Last modified: September 1, 2016

---

# Validate with RegEx

 *  [jorgehawkins](https://wordpress.org/support/users/jorgehawkins/)
 * (@jorgehawkins)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/validate-with-regex/)
 * I want to validate an specific field with a regex. I’ve tried injecting the regex
   through JavaScript, but it does not work. So, there must be a form to do so with
   Contact Form.
 * [https://wordpress.org/plugins/contact-form-7/](https://wordpress.org/plugins/contact-form-7/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [9 years, 9 months ago](https://wordpress.org/support/topic/validate-with-regex/#post-7615559)
 * See [http://contactform7.com/2015/03/28/custom-validation/](http://contactform7.com/2015/03/28/custom-validation/)

Viewing 1 replies (of 1 total)

The topic ‘Validate with RegEx’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

## Tags

 * [contact-form](https://wordpress.org/support/topic-tag/contact-form/)
 * [regex](https://wordpress.org/support/topic-tag/regex/)
 * [validate](https://wordpress.org/support/topic-tag/validate/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * Last activity: [9 years, 9 months ago](https://wordpress.org/support/topic/validate-with-regex/#post-7615559)
 * Status: not resolved