Q:

RegEx for text field with max length 140 with white Space

I have Problem with my RegEx   it allow me to enter any text but when I have white space it throw error.what I have text field to enter summary and the summary  is lenght is 140 with white space my RegEx    [\w\n\r]{0,140}

A:

Try this [\w\n\r\t ]{0,140}
That includes tabs and spaces as well.

