</>DevTools

.*Regex Tester

Test regular expressions with live matching

//

Matches: 0

No matches found

What is Regex Tester?

Regex Tester is a tool that lets you instantly test regular expressions directly in your browser. Match results appear in real time as you type your pattern, making it easy to spot and fix errors when writing complex expressions. It is especially useful for log parsing, input validation, and text substitution in day-to-day development work.

How to Use

  1. Enter a regex pattern in the top input field (e.g. [a-z]+).
  2. Set the desired flags in the flags field, such as g (global) or i (case-insensitive).
  3. Paste the text you want to test into the Test String area — matching results and their indices will appear automatically below.