Overview
Text Replace supports both plain-text replacement and regex-based replacement for batch edits, formatting cleanup, and data masking. It also supports file input, copy, and download.
Core Features
- Plain find/replace with case and replace-all controls.
- Regex replacement with
g/i/m/s/u/yflags. - File import for common text formats (
.txt/.csv/.json/.xml/.log/.md). - Live stats: match count, replace count, input/output length.
Common Use Cases
- Data cleaning and standardization.
- Code refactoring and bulk renaming.
- Document processing and marker replacement.
Regex Examples
- Email:
\b[A-Za-z0-9._%+-]+@[A-Za-z0-9.-]+\.[A-Z|a-z]{2,}\b - Phone:
1[3-9]\d{9} - Number:
\d+ - Whitespace:
\s+
Flag Reference
g: global replace for all matches.i: case-insensitive matching.m: multiline anchors for^and$.s: dot matches newline.u: Unicode-aware processing.y: sticky matching atlastIndex.
Notes
- Test regex on small input first.
- Large files take longer; keep size within 10MB when possible.
- All processing runs locally in the browser.