Results 1 to 2 of 2

Thread: regex for limit new lines in textarea

  1. #1
    Sencha User mysticav's Avatar
    Join Date
    Mar 2007
    Location
    Mexico
    Posts
    518

    Default regex for limit new lines in textarea

    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.

  2. #2

    Default regex for limit new lines in textarea

    Hi

    i found ur thread in forum.did u got answer for limit new line in text area.Please let me know wht the solution for this.
    please help me.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •