I build regular expression script and already tested on https://regexr.com/ to make sure that I capture the correct data I want to get.
I am using alibaba platform, daas to be exact and perform a query on our table.
> select count(1) from ip_tbl
> where ip_address is not null
Result: 51,000 records
Now I want to use my regular expression on IP address that I have been tested, this has to ensure that I capture all the IP on the said table.
> select count(1) from ip_tbl
> where ip_address regexp '\b(\d{1,3}\.){3}\d{1,3}'
Result: 0 records
I tried different function such as RLIKE and REGEXP but it won't work. Please somebody help me regarding this matter. TIA