SyntaxFix
Write A Post
Hire A Developer
Questions
^[^<>]+$
The caret in the character class ([^) means match anything but, so this means, beginning of string, then one or more of anything except < and >, then the end of the string.
[^
<
>