match an ipv4 address
Edit anything to remix
JavaScript

Expression

/
/gm
Test bench

Sample text

5 matches
Structure

Railroad diagram

Live

Strings that match

  • 192.168.1.1
  • 127.0.0.1
  • 0.0.0.0
  • 255.255.255.255
  • 1.2.3.4

Strings that don’t match

  • 256.256.256.256
  • 999.999.999.999
  • 1.2.3