Hi,
I want to match the last opening bracket in a regular expression
If I use this:
(<[</]?>)(.?)$
It would matdch the first opening bracket in the regular expression because the (.*?) would match anything including another opening bracket.
If I use:
(<[</]?>)([<]?)$
It would match nothing because an opening bracket is almost always followed by another bracket (namely the closing one).
So how do I match the last opening bracket?
Here, an opening bracket is a bracket that does not contain / right?