I am trying to filter out numbers whose all digits are the same- like '000000000','111111111111',etc.. I am hoping it could be done using REGEXP_LIKE in snowflake. But it is not working.
These are the things I have tried to test:
SELECT
CASE
WHEN REGEXP_LIKE(column, '^[0-9]\\1+$') THEN '0'
ELSE '1'
END AS D;
tried adding more backslashes for escape sequence problem. Still didn't give me the desired output.

You can go with below solution, which would be more reliable and customizable