I want to find if a string is a pure string using regexp_replace only. If it is not a pure string, then designate the string as XX; Else, use the string.
For eg: If a string is 'A1', then since there is a number, it is not a pure string and the outout would be XX. If the string is AB, there is no number or anything other than an aplha, then use AB.
Note: This needs to be done in a wierd requirement only with regexp_replace. I know how this is done using regexp_like or translate etc. But, i would like to do it with regexp_replace only.