SyntaxFix
Write A Post
Hire A Developer
Questions
pattern: /[\w\W]{1,10}/g
I used this expression for my case, it includes all the characters available in the text.