Female Tools  ·  Regex Tester

Regex Tester

Test patterns and see matches highlighted live. View capture groups and get a plain-English breakdown of your expression.

This regex tester lets developers and anyone learning regular expressions try out a pattern against real text and immediately see what it does. Type a pattern, toggle the g, i, m, and s flags, and paste in test text — matches are highlighted inline in color as you type, with a running count of how many were found. A detailed match list breaks out each capture group individually along with its position in the string, which is invaluable when building a pattern for form validation, log parsing, or text extraction. Below that, a plain-English explanation panel scans your pattern for common tokens like character classes, quantifiers, anchors, and lookaheads, and describes what each one means in a sentence. Everything runs instantly in the browser using JavaScript's native RegExp engine, with no text ever sent anywhere.

//
Test String
Highlighted Matches
Matches will appear here…

How to Use Regex Tester

  1. Type your regular expression into the pattern field, or click "Sample" to load an example.
  2. Toggle the g, i, m, and s flags as needed.
  3. Paste or type your test string into the Test String panel.
  4. Review highlighted matches, or check "All Matches" for capture group details.
  5. Read the "Pattern Explanation" panel for a plain-English breakdown of your pattern.

Frequently Asked Questions

Enter your regex pattern in the top field and your test string below. Female Tools Regex Tester highlights all matches in real-time as you type.

The tester supports: g (global), i (case-insensitive), m (multiline), s (dotAll), and u (unicode) — the full set of JavaScript regex flags.