-1

I'm tryng to invert the matches from this regex.

this is a regex to match ipv4

(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3})

i want to match everything but ipv4

this is what i haved tried: (?!(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}))

maik
  • 43
  • 4

0 Answers0