I want to match any word that starts/ends or not contain with word "end" but ignore word "end", for example:
- hello - would match
- boyfriend - would match
- endless - would match
- endend - would match
but
- end - would NOT match
I'm using ^(?!end)).*$
but its not what I want.
Sorry for my english