List intersection

This calculator parses list using regular expression, then counts unique matches and lists them in decreasing order

Creative Commons Attribution/Share-Alike License 3.0 (Unported)

This content is licensed under Creative Commons Attribution/Share-Alike License 3.0 (Unported). That means you may freely redistribute or modify this content under the same license conditions and must attribute the original author by placing a hyperlink from your site to this work https://planetcalc.com/7783/. Also, please do not modify any references to the original work (if any) contained in this content.

This is utility calculator which is needed to summarize lines information. Suppose you have many lines from log file, or something like that, with structured information, which can be extracted using regular expressions. So, this calculator applies regular expression to each line, extract first match group and memorizes it. Then it gathers statistics on each unique match group value, allowing you to intersect list and count similar values.

Default list illustrates this. It have five "match one" strings, and two "match two" strings. Regular expression matches "one" and "two" and counts their occurrence. Result is displayed in the table, in decreasing order.

PLANETCALC, List intersection

List intersection

Creative Commons Attribution/Share-Alike License 3.0 (Unported) PLANETCALC, List intersection