I need to use REGEXP_REPLACE to do the following :
If word starts with 'ABCD' then replace first four(4) chars with 'FFFF'
else
If word starts with 'XYZ' then replace first three(3) chars with 'GGG'
How do I use REGEXP_REPLACE to do conditional replace ?