I\'m looking for a regular expression that matches the \'>\' in
a > b > b> ...
but not two or more angled brackets, i.e. it should
Perl syntax:
/(?)>(?!>)/
Without using lookahead or lookbehind:
/(?:^|[^>])>(?:[^>]|$)/