I have a string like this:
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
and I want a Regex that will match whenever there's a situation like this:
<https://example.com/code/INSTRUMENTS/AGD<1>
<https://example.com/code/INSTRUMENTS/AGD>1>
to detect such invalidly serialized IRIs (similar to URIs/URLs).
I've looked at existing answers on SO, but none of them seem to work when the inner character is the same as one of the outer characters.