mysticav
27 Apr 2009, 11:31 PM
I t would be nice to have a "maxLines" config option. Anyway, Can somebody help me with a regular expressions so I can:
count the new lines that the text has ? I guess is just a matter of counting the \n characters.
I need to validate the text area allowing only 4 lines.
Adding the regular expression to regex config option will solve my problem.
count the new lines that the text has ? I guess is just a matter of counting the \n characters.
I need to validate the text area allowing only 4 lines.
Adding the regular expression to regex config option will solve my problem.