FREE + NO SIGN-UP + RUNS IN YOUR BROWSER

Regex Tester

Build, test and debug regular expressions in real time. Type a pattern, see every match highlight as you type, and inspect capture groups. Nothing is sent anywhere - it all runs locally.

/ /
TEST STRING
MATCHES

Enter a pattern to see matches.

QUICK REFERENCE

. any character
\d \w \s digit / word char / whitespace
+ * one-or-more / zero-or-more
{n,m} between n and m times
(...) capture group
| alternation (or)
\b word boundary
^ $ start / end (line with m flag)
(?=...) (?<=...) look-ahead / look-behind

Want to actually understand these? The free course takes you from literal characters to lookarounds, one interactive lesson at a time.