Skip to content
Text & Writing

Regex Tester

Test regular expressions with live match highlighting.

Flags
Highlighted matches

Matches will be highlighted here.

 

About this tool

Test and debug regular expressions with live match highlighting, a capture-group table and all flags. A built-in cheatsheet and input caps keep it fast.

  • 1Enter a pattern and flags, then paste the text to match against.
  • 2Matches highlight live and capture groups appear in a table.
  • 3A cheatsheet covers the syntax you reach for most.
  • 4Input is capped and matching is debounced to blunt catastrophic-backtracking regexes.

Private by design

Everything runs locally in your browser. Your text, files and images are never uploaded to a server — the entire tool works offline once the page has loaded.

Keep going

Related tools