Sensitive data often follows a shape rather than a fixed word: card numbers, reference codes, or IDs that vary each time but share a pattern.
Text Redactor Online lets you write regular expressions and redacts everything that matches, running only when you press Run.
How to use Text Redactor Online
- Enter one regular expression per line for the patterns to redact.
- Choose whether matches become a bracketed label or a solid block.
- Press Run to apply the patterns, then copy the redacted text.
Use cases
- Redacting card-number patterns from a pasted record.
- Hiding reference codes that follow a fixed shape.
- Masking IDs that match a custom expression.
Good to know
Text Redactor Online compiles each line as a regular expression and replaces matches with a bracketed label or a solid block. For safety and performance it runs only when you press Run, not on every keystroke. Invalid expressions are skipped and reported so one typo does not stop the rest.
Frequently asked questions
Why does it only run when I press Run?
Regular expressions can be costly on large input, so running on demand keeps the page responsive and avoids re-matching as you type.
What happens if one of my patterns is invalid?
Invalid expressions are ignored and counted in the note, so the valid patterns still apply normally.
How do I write a pattern for digits?
Use standard regular-expression syntax; for example a run of digits can be matched with a digit class and a quantifier.