A collection of tools to help you write filters.
Output array is sorted but duplicates are not removed.
First link of each line will be extracted, extra text in front of links are ignored.
Warnings will be generated for lines that contain more than one links or do not contain any valid links.
Output array is sorted. Duplicate and invalid entries are removed.
Warnings will be generated for entries that are removed.
From first line, remove domains that are contained in other lines.
If first line contains duplicate entries, the first duplicate entry will be removed on each match.
Output array is not sorted.
Warnings will be generated for entries that are not matched.
Convert non-ASCII characters to their Unicode escape sequence.