I can usually get by with Regex but this one's doing my head in and I will gratefully accept anyone's help.
select regexp_replace(upper('Abc\Zyxcz\'),'[^A-Z]+', '');
This returns ABCZYXCZ\
although I'd expect it to remove all the backslashes.
Anything I am missing? Thank you!