Test JavaScript regular expressions against sample text and inspect the matches.
Regex
JavaScript
Flags
/^abc/gim
Test String
0.0 KB / 2048 KB
ABC 100 abc 200 ABC 300
Matches
3 matches
^ matches the start of the text, or each line when multiline is active.
Match 10-3
ABC
Match 28-11
abc
Match 316-19
ABC
About Regex Test
Regex Test is a free online developer tool for developers who need a fast way to work with Regex data. Paste your input, run the tool in the browser, and use the result in APIs, configuration files, tests, documentation, or everyday debugging work.
Common uses
- Clean up developer data during debugging, review, and documentation work.
- Paste input, run the tool locally in the browser, and copy the result instantly.
- Use the output in tests, API clients, config files, and shared examples.
Related tools
FAQ
What does Regex Test do?
Regex Test helps you test JavaScript regular expressions against sample text and inspect the matches. It is built for quick browser-based developer workflows.
Is Regex Test free to use?
Yes. Regex Test is free to use in dev-tool-x and does not require a sign-up for normal formatting, conversion, encoding, or text cleanup tasks.
Does Regex Test upload my data?
No. Regex Test runs in your browser, so pasted text and uploaded files stay on your machine while you use the tool.