I want 6 regular expressions in jquery for these following conditions.
- Limit of the letters = 200 (max 431)
- The maximum allowed same consecutive letters=5
- If "space" is pressed,no more symbols to be accepted
- The sign "-" is accepted,but only twice
- The sign "." is accepted,but only twice
- The sign "_" is accepted,but only twice
I need 6 separate regular expressions for these conditions.
Can you help me in developing these regular expressions.
Thank you in advance.