How can i detect string is start with "+"
I tried^\s*?\+.*$
but no help.
P.s: I have only one line alltime.
You don't need \s*?
, you have to use:
^\+
or...
^[+]
In case you want to check a complete string, you can use:
^\+.*$
Working demo
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With