I've seen another topic about word boundary with special characters, but I still can't fix my problem.
I wanna match this:
@_-amazingword_-
but not match this:
@_-amazingword_--
Is there a regular expression for that?
Keep in mind though, that these words can be placed in the middle of a text, for instance:
This is an @_-amazingword_- everybody.
@_-amazingword_-(?!-)OR@_-amazingword_-(?=\s|$)- anubhava(?<!\S)@_-amazingword_-(?!\S)if your regex flavor is not JavaScript. - Wiktor Stribiżew