Regex tester
Type a regular expression and some text to see exactly what it matches, with the groups listed.
Pattern
Flags: g finds every match, i ignores capitals, m makes ^ and $ work on each line, s lets a dot match a new line.
Matches
How to use it
- Type the pattern and flags.
- Paste the text to test.
- Matches are highlighted and listed.
Common questions
Is Regex tester free?
Yes. Every tool on CampusBox is free, with no sign-up.
Is anything I enter or open uploaded?
No. The tool runs inside your browser, so your files and entries stay on your device.
Does it work without internet?
Yes. After your first visit to CampusBox, the tool opens without a connection.