xeger
xeger copied to clipboard
IP regex not working (with non capturing groups imbricated and negative lookahead)
Trying IP regex :
^(?:(?:1\d{2}|[1-9]?\d|2[0-4]\d|25[0-5])(?:\.(?!$)|$)){4}$
Is generating :
255.226124138.
9253252.112
96.119.163.252.
251.106.136.16
Only the last one is good