Regex Tester
Write a regular expression, pick your flags, and watch every match light up in your text as you type.
Build the pattern, then trust the matches
This tester uses the exact regular expression engine your browser ships with, so what matches here matches in your JavaScript too. Type a pattern, toggle flags like g for global or i for case-insensitive, and every hit lights up in your text with its position and capture groups listed below. An invalid pattern shows a friendly error instead of failing silently.
That one regex you always rewrite from scratch
Everyone has a few patterns they reinvent every month because they never saved the last one. Relic is an encrypted, permanent memory for everything you copy, so the regex you finally got right stays searchable on every device, forever, end-to-end encrypted so only you can read it. Test it here for free, then keep it for good.