I am trying to make a regex that not match a word ‘register’ that have word ‘log in’ in this string
"active active">Log in / Register</a>
"active active">Register / log in</a>
but will match this
"active active">Register</a>
"active active">siteRegister</a>
It is possible to make the regex..?just try it almost 3 hours..appreciate if you can help
Despite the fact that i think it’s bad idea to use regex for this sort of thing, you should try that: