FREE DEVELOPER TOOL
Online Regex Tester
Test JavaScript regular expressions against sample text, inspect matches and capture groups, and preview replacements instantly.
3 matches found
cat at 2dog at 9CAT at 26
Replacement preview
A pet, a pet, and another pet.
Match details
#1 · index 2 · groups: $1=cat
#2 · index 9 · groups: $1=dog
#3 · index 26 · groups: $1=CAT
Uses JavaScript RegExp syntax. Your test text stays in this browser. Global matching is capped at 500 results to keep the page responsive.