I am trying to filter all the ip adresses in a username. But this doesnt really work properly in my query:
select distinct regexp_extract(username, '^([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3}).([0-9]{1,3})$', 0) from ips.
The problem is that he even recognizes numbers as 1000000 as ip adress.
Any idea how to fix it?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…