Line Processing

Batch add prefix/suffix and line numbers; remove or keep lines containing keywords

How to use

  1. Paste text into the input, one per line.
  2. Set prefix/suffix, check "Add line numbers", or fill "Remove containing"/"Keep only containing" keywords.
  3. Click "Process"; the result shows processed lines.
  4. Tip: remove and keep stack—exclude first, then filter for more precise output.

FAQ

Can remove and keep be used together?

Yes. First filter out unwanted lines by "Remove containing", then further filter by "Keep only containing"; the two stack.

Are line numbers based on pre- or post-processing order?

Line numbers are assigned based on the current line order after filtering and adding prefix/suffix, matching the final output.