Regex Tester
Test a JavaScript regular expression against sample text and inspect bounded matches.

Free browser tool
No Matrix computer needed
✓ No account or card
✓ Use the result right away
✓ Task-specific limits below
Workspace
Use regex tester
Runs in this browser tab
Result
How to use it
Put a pattern on the first line and test text below it to see matching substrings.
Try this example
Matrix\s+OS Matrix OS connects tools and agents.
What to check
Patterns run in a disposable worker with a short timeout; some advanced or costly patterns may be rejected.
Review the result before using it in a published page, application, or agent configuration.
Quick answers
Frequently asked questions
Can a costly regular expression freeze the page?
Patterns run in a disposable browser worker with a short deadline and bounded matches. A pattern that takes too long is stopped.
Which regular-expression syntax does the tester use?
It uses JavaScript regular expressions. Put the pattern on the first line and sample text below; the output lists up to 100 matches.
Keep exploring
Related free tools
Keep your tools and files together with Matrix
Utilities brings everyday text, file, and developer tools into Matrix. Some advanced browser tools remain on the website. The desktop client connects to your private Matrix cloud computer, which requires a paid plan.