in reply to Re^3: print and extract the line
in thread print and extract the line

+ + for effort & brevity

Note, however, that this code prints six-character strings, whereas OP's example output (in the narrative) looks for only five.

As for autodie and your search fu, Super Search doesn't require a whole lot of fu;
here's the output where the only input was "autodie": ?node_id=3989;BIT=autodie