Regular Expressions for Beginners: A Practical Start
The handful of regex building blocks that cover most everyday matching, explained without jargon.
When two versions of a document drift apart, the useful question is what changed. This tool compares text line by line and marks additions and removals, so you can review a revision without reading the whole thing again.
Paste the original on the left and the revised text on the right. Lines that match are faint, removed lines are struck through, and new lines are highlighted.
Runs locally in your browser — nothing is uploaded.
The tool computes the longest common subsequence of lines. That keeps unchanged lines aligned and shows only the true insertions and deletions.
Yes, for normal document sizes. Very large files may be slow because the comparison runs in your browser.
No. The comparison happens locally and nothing is sent to a server.
Line-based diffs are the right granularity for code and documents: they show what a reviewer needs without drowning them in character-level noise. Word-level diffs are better for prose edits, where a changed word matters more than a changed line.
The comparison is a longest-common-subsequence problem, which is quadratic in the worst case. Extremely large inputs can be slow, so comparing a few thousand lines at a time is the practical limit for a browser-based tool.