My previous question was over simplified. So here is what my real situation is.
I need to strip some part of a text using RegEx.
"[XXXX_BONJOUR]Everything here should be removed as well[/XXXX_BONJOUR]This part should remain"
As a result, i need "This part should remain".
Now what's particular about this version is that "XXXX" could be anything. Don't worry about the begin & end matching. Assume that they will match.
I've tried this expression, but it doesn't work: