Online Regular Expression (Regex) Tester
Enter a pattern and test string — matches are highlighted instantly. All standard JavaScript RegExp flags and named capture groups are supported.
Frequently asked questions
Which regular expression engine is used?
The tool uses the built-in JavaScript RegExp engine running in your browser. The syntax is compatible with V8 (Node.js, Chrome). Named groups (?<name>...), lookahead (?=...), lookbehind (?<=...) and other modern features are supported.
What does the g flag do?
The g (global) flag makes the regex find all matches in the text instead of stopping at the first one. Without the g flag, only the first match will be found.
How do I use capture groups?
Wrap part of the pattern in parentheses: (\d+) will capture digits. Named groups: (?<year>\d{4}) let you reference the result by name. Groups are displayed in the matches list below the test text.
Need a full SEO audit?
Tools help with targeted tasks. For systematic growth — request a free review of your site.