Regex Tester

Test and debug regular expressions with live matching.

Runs on this device
//g
0 chars

Results

Enter a pattern to see matches

JavaScript regex flags

  • g finds every match instead of the first one.
  • i ignores letter case.
  • m makes ^ and $ match at the start and end of each line.

Limits

Patterns use JavaScript syntax, so other engines may behave differently.

A run stops after 3 seconds, which usually points to catastrophic backtracking.

Counting stops at 1,000 matches, and the list shows the first 50.