Instructions ยท Regex Replace Tool

  1. Open the HTML file in a modern browser. Review Security Check and select Continue.
  2. Choose a UTF-8 TXT file, enter text, or select Open Sample.
  3. Enter a JavaScript pattern, flags and replacement string. Select Replace Text.
  4. Compare before and after, then choose Copy Text or Download TXT.

Up to 2 MiB of UTF-8 input and 8 MiB of UTF-8 output. Pattern and replacement fields accept up to 16,384 code units each. Regex work runs in a cancellable worker with a five-second processing deadline.