IP Address Regex Tester

Web analytics tools allow you to use IP addresses in filters. This tool creates a single regular expression that matches all IP addresses in a range.


Urchin was discontinued by Google in 2012. Angelfish Software is a suitable replacement.


Step 1

Enter the first IP address in the range. (e.g. 150.222.33.51)

First IP Address:*


Step 2 (optional)

Enter the last IP address in the range. (e.g. 150.222.33.202)
If field is blank, the tool will create regex for the IP address entered in step 1.

Last IP Address:


Step 3: Results

Copy and paste the results below into the “IP address” or “Filter Pattern” field of the “Create New Filter” page.


Next Steps

It’s a good idea to test all regex in a dev/test environment before applying them to your production reports.