Text-Diff
Compare two text blocks line by line using the LCS algorithm. Supports ignoring whitespace and case. Kostenlos, privat und 100% clientseitig.
Local only
Letzte Verlauf
Noch kein Verlauf
Verwendung
- Paste the original text into the input box.
- Hinzufügen a separator line containing only ---.
- Paste the modified text below the separator.
- Toggle ignore whitespace or ignore case if needed, then read the diff.
Aufgaben mit diesem Tool
Berechnen edit distance (Levenshtein)
Bearbeiten distance measures der minimum Zahl von insertions, deletions, und substitutions in transformieren one Zeichenkette in another. Verwendet in spell checking und fuzzy matching. AUFGABE
Berechnen Levenshtein distance
Levenshtein distance measures der minimum edits (insert, löschen, substitute) in transformieren one Zeichenkette in another. Verwendet in spell checking und fuzzy matching. AUFGABE
Vergleichen two texts and show the differences
Diff vergleichen two versions of a text to see insertions, deletions, and modifications at the line or character level. AUFGABE
Berechnen cosine similarity between texts
Cosine similarity measures der angle zwischen Text vectors, indicating semantic similarity. Verwendet in search, clustering, und recommendation. AUFGABE
Zählen words, characters, and analyze text statistics
Abrufen word count, character count, line count, reading time, and frequency analysis for a block of text. AUFGABE
Debuggen regex Muster Schritt durch Schritt
Debuggen regex durch testing against sample inputs, visualizing der übereinstimmen, und understanding warum ein Muster matches oder fails. Verwenden flags correctly. AUFGABE
Optimieren regex für performance
Langsam regex kann cause ReDoS (Regular Expression Denial von Dienst). Lernen in identifizieren und fix catastrophic backtracking, verwenden atomic groups, und anchor Muster. AUFGABE
Verwenden regex quantifiers: *, +, ?, {n,m}
Quantifiers specify wie viele times ein Muster repeats. Lernen greedy, lazy, und possessive matching in avoid catastrophic backtracking. AUFGABE
Pipelines mit diesem Tool
Häufige Fragen
- How do I provide two texts to compare?
- Enter the original text, then a line containing only ---, then the modified text. The tool computes a line-level diff between the two blocks.
- What do the prefix symbols mean?
- Lines prefixed with + are added in the second text, - are removed from the first text, and a space prefix means the line is unchanged.
Verwandte Tools
Sortieren & Deduplizieren
Sort lines alphabetically, numerically, by length, or naturally; deduplicate; reverse or shuffle. Kostenlos, privat und 100% clientseitig. WERKZEUG
String-Umkehrung
Reverse text by characters, lines, or words. Unicode-safe for emoji and surrogate pairs. Kostenlos, privat und 100% clientseitig. WERKZEUG
Wortzähler
Count characters, words, lines, sentences, paragraphs, byte size, and estimate reading time. Kostenlos, privat und 100% clientseitig. WERKZEUG