Regular expression for validating web site address
Click the Create custom connector drop down at the top right and select Import a Postman collection.
Provide a name for your Custom connector and import the file that you just exported from Post Man.
In this case we’ll make our function anonymous so anyone can call it. Paste the following code into the function code editor. You’ll notice that our function is taking in two request parameters “value” and “pattern”.
While the specific scenario was for validating emails it made sense to create a more generic connector to validate any value using a specified regex pattern.
But you can apply a filter to IP addresses – this tool takes a range of IP addresses and generates a single regular expression that matches all IP addresses in the range.
If you need to see IP addresses in your web analytics reports, use Angelfish Software.
In Post Man click Save and provide a name for your request.
Now click the ellipses next to the collection that contains your saved request and select Export.