How to use the Duplicate Line Remover.
Define equality before removing duplicate lines. Case, surrounding whitespace and empty lines may affect which records should remain distinct.
Make the workflow fit your task.
Specify whether comparisons ignore case, surrounding spaces or empty lines. Scan in original order and retain the first occurrence under that rule. Report removed-line counts and preserve a copy when repeated lines could represent separate records.
- What you provide
- Multiline text and equality rules.
- What you get
- Unique lines with retained order and removal count.
See the input and the result.
Illustrative input and output · a teaching example, not a live WebAct run
Example input
Lines: apple, apple, Apple; matching is case-sensitive and original order must stay.
Completed example
Keep apple and Apple, removing the second exact apple line.
Load this input into the prompt, then copy it to WebAct to try the task. Your result may differ from the illustration.
Decisions and troubleshooting.
Should identical-looking lines always be removed?
Only if repetition is unwanted. Two identical transaction lines may represent separate events, so define the purpose before deduplicating.
Why did Apple remain beside apple in the output?
Case-sensitive equality treats them as different strings. Change that rule explicitly if they should be combined.
Try it with your own source.
Replace the example with your material in the task prompt. Keep the requirements you need, then copy the task into WebAct.
Customize and copy the task ↑