← Back to tools
A USEFUL LITTLE THING / 022
Regex Find & Replace.
Test a JavaScript pattern, extract matches and preview replacements.
Examples & limits
JavaScript regular expressions only. Try \d+ for numbers, ^.+$ with gm for nonempty lines, or \b[A-Z][a-z]+\b for capitalized ASCII words. A blank pattern matches empty positions.
Runs only when requested, in a worker with a three-second limit. At most 100,000 text characters, 1,000 pattern characters, 500 matches and 500,000 output characters. A timeout is not a “no matches” result. Your text is not saved or sent to another service.