Hi Friedrich,
how can I check with "if RegExp", wether a string contains two or more
sequent back slashes, except the first two letters?
Examples:
\\ -> FALSE
\\\ -> TRUE
\\a -> FALSE
\\a\ -> FALSE
\\a\\ -> TRUE
\\a\\b -> TRUE
\\a\\\b -> TRUE
\\a\b\ -> FALSE
\\a\b\\ -> TRUE
\\a\\b\\ -> TRUE
I know, I can cut the first character and then check with "contains \\",
but we have this nice regex feature...
Unfortunaltely, I wasn't able to find an expression, which works with
all the above test cases.
I thougt it should work with the following expression, but it didn't:
^.\\\\.*$
Markus