Read instructions, examples, and limits
No matches.
Test JavaScript patterns, flags, groups, and replacements in a worker.
Enter item=(\d+) without slash delimiters and test it against item=12 item=34. Enable g to show both matches. Replacement text id=$1 produces id=12 id=34, using the first captured group in each match. Turn g off to compare how only the first occurrence is replaced.
JavaScript flags change interpretation: i ignores letter case, while m affects line anchors. This tester uses JavaScript patterns, so a pattern copied from another language may behave differently. Start with a small representative sample and inspect both matches and replacement output before editing a whole document. A one-second timeout stops a slow worker; it is a signal to simplify the pattern, not evidence that it would be safe or fast on every input.
Processing stays in this tab. Input and generated content are not uploaded or stored.
All processing runs locally in your browser. This tool is provided as-is without warranty. Keep backups of your original files before processing.
By selecting media, you confirm you own the content or have permission to modify it. Please read the Terms and Conditions.