Regex Tester
Test JavaScript regular expressions against sample text, with named groups and flags.
Write a regex pattern, configure flags (g, i, m, s, u, y), paste your test string, and see matches with their capture groups highlighted. Uses the browser's native RegExp engine.
match @13: hello@devsdesk.site
- [1] hello
- [2] devsdesk.site
match @36: ayan@example.com
- [1] ayan
- [2] example.com
FAQ
Which regex flavor does this use?
JavaScript's native RegExp. This differs from PCRE in a few edge cases (look-behind support varies, no possessive quantifiers).
Related tools
- /01
JSON Formatter & Validator
Paste JSON, get formatted, validated, and minified output instantly. Runs entirely in your browser.
- /02
Encoder & Decoder
Base64, URL encode/decode, UUID generation, and Unix ↔ ISO timestamp conversion, all in one tool.
- /03
Password Generator
Generate cryptographically strong passwords with configurable length and character classes.
- /04
Invoice Calculator
Calculate totals across multiple line items with quantity, price, tax, and discount.
- /05
Image Format Converter
Convert images between PNG, JPEG, and WebP with quality control, entirely in your browser.
- /06
Markdown Preview
Write Markdown and see the rendered HTML side-by-side. Supports GitHub-flavored syntax.