我对以下正则表达式有疑问
select REGEXP_REPLACE(declinereasondesc, '(.+)(£)(\d+)', '\1\3 (GBP)') as r from DECLINEREASON t
它与以下行不匹配
Too expensive : By less than £100
Too expensive : By more than £200
预期结果
Too expensive : By less than 100 (GBP)
Too expensive : By more than 200 (GBP)
编辑:
非信徒截图