I want to use REGEXP_REPLACE in PL/SQL on Oracle 10g to remove the trailing HEX-0D from a string. I found the regex from this question.
In Perl it reads as follows:
$output =~ tr/\x{d}\x{a}//d;
or
$output =~ s/\s+\z//;
How can I translate this to PL/SQL?
1 Answer