Test JavaScript Regular Expressions
Test a JavaScript regex and see matches, capture groups, and character offsets.
My projects
Input
Enter the pattern without its surrounding slashes.
Output
Enter your input and run the tool to see the result here.
Text output
Guide: Test JavaScript Regular Expressions
Enter the pattern without its surrounding slashes. Processing runs in your browser.