How can i detect string is start with "+"
"+"
I tried ^\s*?\+.*$ but no help.
^\s*?\+.*$
P.s: I have only one line alltime.
You don't need \s*?, you have to use:
\s*?
^\+ or... ^[+]
In case you want to check a complete string, you can use:
^\+.*$
Working demo