How do you set word limits to text answer

How do you set word limits on an excepted text answer; i.e., prevent the responder from typing in more than 500 words, for example.

Thank you in advance.

@cokoro, you should be able to do it as outlined in our support article Restricting Text Responses With Regular Expressions: