By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
select REGEXP_REPLACE( "MOD123-45-N", '[^0-9]', '') = '12345'
REGEXP_REPLACE( "MOD123-45-N", '[^0-9]', '') = '12345' |
---|
1 |
select REGEXP_REPLACE( "67062-4D", '[^0-9]', '') = '670624'
REGEXP_REPLACE( "67062-4D", '[^0-9]', '') = '670624' |
---|
1 |