Regex Tester
Test JavaScript regular expressions live: every match highlighted, capture groups in a table, and a replace preview.
Runs in your browser. Nothing leaves this device.
Open Regex Tester
Free, no account, no watermark and no daily limit.
How to use Regex Tester
- 1Type a pattern and pick the flags.
- 2Paste the text to search. Matches are highlighted as you type.
- 3Add a replacement to preview the result, using $1 or $<name> for groups.
Questions
Which regex flavour is this?
JavaScript, the one built into your browser, with named groups, lookbehind and the u and s flags.
Is there a limit?
It stops counting at 5,000 matches and shows the first 100 in the groups table, so huge texts stay quick.
Is it free?
Yes. No account, no watermark and no daily limit.
Related tools
- DeveloperBase64 EncoderEncode text or files to Base64 and decode it back, with URL-safe and data URL options.
- DeveloperDiff CheckerCompare two texts and see what was added and removed, line by line or word by word, and download a patch.
- DeveloperHash GeneratorGet the MD5, SHA-1, SHA-256, SHA-384 and SHA-512 of text or any file, and check it against a hash you were given.
- DeveloperJSON FormatterFormat, check and minify JSON, with the exact line of any error.
- DeveloperJWT DecoderRead the header and claims of a JSON Web Token, see when it expires, and check an HMAC signature.
- DeveloperTimestamp ConverterTurn Unix timestamps into readable dates and back, in seconds or milliseconds, in your time zone and UTC.