We are experiencing higher levels of website traffic, we are trying to expand. Thank you for your understanding.

Regex Tester

Test regular expressions live. Enter a pattern and test string to see all matches highlighted inline, with captured groups listed. Supports all JavaScript regex flags: g (global), i (ignore case), m (multiline), s (dotAll).

Ctrl+Enter to run  ·  Ctrl+K to switch tools  ·  Recent button shows input history

Let AI do the hard part. Fix broken HTML, convert to email-safe HTML, or clean up any markup in one click — 3 free AI runs per day, no account needed.

Try the AI HTML Fixer

FAQ

Which regex engine is used?

JavaScript's built-in RegExp engine (ECMAScript standard). Supports lookaheads, backreferences, named groups, and Unicode properties.

Why am I getting no matches?

Common causes: missing i flag for case-insensitive matching, anchors ^ and $ not matching as expected without the m flag, or special characters not escaped (use \d not d, \. not .).