Can someone help me with the regular expression for the following requirement.
- Input should be at least 1 character and can contain maximum of 79 characters.
- Only alphabets and whitespace
([a-zA-Z ]{1,79}) - If the length exceeds
24characters, then it should contain at least one whitespace.