I have to use a regex to verify if a string is not empty or blank, and doesn't contain ">" "<".
For example:
" " is invalid;
" a <" is invalid;
" a 6" is OK;
I tried below regex, but doesn't work.
^(^\s*$)|^[^<,>]+$
How could I set this regex? could any kind guys help me on this? thanks.