// pnyx -e=documentation pncs.cmd.examples.documentation.library.ExampleLine filterFunc public static void filterFunc() { const String input = @"Text1with0numbers log3message Oliver Twist "; using (Pnyx p = new Pnyx()) { p.readString(input); p.lineFilterFunc(line => { String numbers = TextUtil.extractNumeric(line); return(numbers.Length > 0 && int.Parse(numbers) > 5); }); p.writeStdout(); } // outputs: // Text1with0numbers }