Regex Tester
Test regex patterns with live highlighting, match details, and plain-English explanations.
//g
About Regex Tester
Test regular expressions in real time with instant match highlighting, capture group details, and a plain-English pattern explainer. Supports all JavaScript regex flags including global, case-insensitive, multiline, dotall, and unicode. Includes 10 common regex recipes you can load with one click.
FAQ
- Which regex flavor does this use?
- It uses JavaScript's built-in RegExp engine, which supports features like lookahead, lookbehind, named groups, and Unicode escapes.
- What do the regex flags mean?
- g (global) finds all matches, i (case-insensitive) ignores case, m (multiline) makes ^ and $ match line boundaries, s (dotall) makes . match newlines, u (unicode) enables Unicode support.
- Is my data sent to a server?
- No. The regex is compiled and executed entirely in your browser. Nothing is uploaded or logged.
- Can I see what each part of the regex does?
- Yes. The Pattern Explanation panel breaks down your regex token by token and explains each part in plain English.