handyk.it

Pronounced “Handy Kit”

RegEx Tester

Live matches, capture groups, and replace - all as you type.

/ /

Preview

Matches

Replace

How to use

Type a pattern (no need for the surrounding slashes) and sample text - every match highlights live, with a numbered list of matches and their capture groups below. Switch to the replace row to swap matches for a replacement string, using $1, $2 for captured groups.

FAQ

Which regex flavor is this?

JavaScript's native RegExp - the same engine every modern browser uses, so patterns behave exactly as they will in your own JS code.

Does it find every match, or just the first?

Every match - the g flag is always applied internally so all matches get enumerated, not just the first one.

Is my text sent anywhere?

No, matching and replacing both run entirely in your browser.

24 visits