I need to match the pattern only if <<
or >>
or ]]
or [[
is not present in the string.
If any of these special characters are present the match should be zero else it should match.
For example, I have an expression Stackoverflow
which should return as a match but if I have Stack]]over<<flow
I should not get a trueful response. The following pattern unfortunately does not work:
/^(\[\[)|(\]\])|(\<\<)|(\>\>)
Thank you