Websites Loader 1.21

by Vitaly, Monday, December 16th, 2019

Version 1.21 of the Websites Loader 1.21 released.

What’s New

Replace Rules has been added. Replace rule applies to HTML content and allows, for example, replace one domain by another.

Each rule consist of the pattern, which is regular expression, and the replacement value. Matching text will be replaced with the replacement value.

Replacement value can contain references to matching groups. Example:

Pattern: (https?://)?(localhost/)
Replacement value: $2
Subject: http://localhost/aaa
Result: localhost/aaa

Tags: , ,


IPv4 Regular Expression

by Vitaly, Monday, February 15th, 2016

Accurate regular expression to match IPv4 address:

((([0-9])|(1[0-9][0-9]?)|([2-9][0-9])|(2[0-4][0-9])|(25[0-5]))\.){3}(([0-9])|(1[0-9][0-9]?)|([2-9][0-9])|(2[0-4][0-9])|(25[0-5]))

Tags: ,