How to use oracle to intercept characters between two identical strings